Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002801/0.002801, allocations: 214.1 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.942/2.942, allocations: 476 MB / 0.7699 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.2 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.324, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01457/0.3386, allocations: 10.35 MB / 1.293 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.3538, allocations: 8.496 MB / 1.301 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.3553, allocations: 87.25 kB / 1.302 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00476/0.36, allocations: 1.672 MB / 1.303 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005509/0.3656, allocations: 1.572 MB / 1.305 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.3676, allocations: 0.6852 MB / 1.305 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003201/0.3708, allocations: 2.275 MB / 1.308 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.3725, allocations: 1.137 MB / 1.309 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.3746, allocations: 1.184 MB / 1.31 GB, free: 388 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.376, allocations: 0.9335 MB / 1.311 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002043/0.3762, allocations: 136 kB / 1.311 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.3778, allocations: 0.7329 MB / 1.312 GB, free: 14.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005986/0.3784, allocations: 0.5841 MB / 1.312 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009751/0.3794, allocations: 0.7076 MB / 1.313 GB, free: 13.28 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.383, allocations: 2.58 MB / 1.315 GB, free: 10.69 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.383, allocations: 0 / 1.315 GB, free: 10.69 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.863e-06/0.383, allocations: 0 / 1.315 GB, free: 10.69 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.737e-05/0.383, allocations: 0 / 1.315 GB, free: 10.69 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003727/0.3867, allocations: 1.987 MB / 1.317 GB, free: 8.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.3868, allocations: 12.03 kB / 1.317 GB, free: 8.648 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.3981, allocations: 2.055 MB / 1.319 GB, free: 6.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.4013, allocations: 1.122 MB / 1.32 GB, free: 5.418 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/0.4013, allocations: 86.69 kB / 1.321 GB, free: 5.332 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.4016, allocations: 112.1 kB / 1.321 GB, free: 5.223 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005995/0.4076, allocations: 2.701 MB / 1.323 GB, free: 2.324 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.883e-05/0.4076, allocations: 11.89 kB / 1.323 GB, free: 2.312 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.4078, allocations: 55.98 kB / 1.323 GB, free: 2.258 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003821/0.4082, allocations: 126.1 kB / 1.323 GB, free: 2.133 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007851/0.416, allocations: 2.545 MB / 1.326 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0154/0.4314, allocations: 7.472 MB / 1.333 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006635/0.4381, allocations: 1.846 MB / 1.335 GB, free: 6.082 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002977/0.441, allocations: 0.9425 MB / 1.336 GB, free: 5.137 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.371e-05/0.4411, allocations: 8.438 kB / 1.336 GB, free: 5.129 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/0.4412, allocations: 39 kB / 1.336 GB, free: 5.082 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 3.046e-06/0.4412, allocations: 7.938 kB / 1.336 GB, free: 5.074 MB / 1.029 GB Notification: Performance of matching and sorting (n=81): time 0.03415/0.4753, allocations: 9.11 MB / 1.345 GB, free: 11.92 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.4754, allocations: 60.06 kB / 1.345 GB, free: 11.85 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.477, allocations: 0.9632 MB / 1.346 GB, free: 10.87 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.4772, allocations: 41.7 kB / 1.346 GB, free: 10.82 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006636/0.4778, allocations: 0.7579 MB / 1.347 GB, free: 10.06 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.4782, allocations: 297.5 kB / 1.347 GB, free: 9.77 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004524/0.4787, allocations: 198.5 kB / 1.347 GB, free: 9.566 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4788, allocations: 349.9 kB / 1.347 GB, free: 9.219 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003143/0.482, allocations: 1.079 MB / 1.349 GB, free: 8.141 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003353/0.4853, allocations: 1.317 MB / 1.35 GB, free: 6.73 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00656/0.4919, allocations: 2.405 MB / 1.352 GB, free: 4.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.4919, allocations: 4 kB / 1.352 GB, free: 4.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009561/0.5015, allocations: 3.274 MB / 1.355 GB, free: 0.918 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.5015, allocations: 8 kB / 1.355 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.5015, allocations: 4 kB / 1.355 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003283/0.5048, allocations: 0.8613 MB / 1.356 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.5069, allocations: 419.3 kB / 1.357 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/0.525, allocations: 15.02 MB / 1.371 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.5273, allocations: 287.5 kB / 1.372 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.5276, allocations: 55.95 kB / 1.372 GB, free: 15.43 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009465/0.5285, allocations: 409.4 kB / 1.372 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004639/0.529, allocations: 135.2 kB / 1.372 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009229/0.5382, allocations: 3.2 MB / 1.375 GB, free: 11.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.5382, allocations: 8 kB / 1.375 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.232e-05/0.5382, allocations: 15.98 kB / 1.375 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.5383, allocations: 7.922 kB / 1.375 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.5506, allocations: 4.511 MB / 1.38 GB, free: 7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.5506, allocations: 4.344 kB / 1.38 GB, free: 6.996 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/0.5522, allocations: 359.4 kB / 1.38 GB, free: 6.645 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00279/0.555, allocations: 0.7678 MB / 1.381 GB, free: 5.852 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.5551, allocations: 27.97 kB / 1.381 GB, free: 5.824 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01716/0.5723, allocations: 14.65 MB / 1.395 GB, free: 6.355 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.5723, allocations: 7.938 kB / 1.395 GB, free: 6.348 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009475/0.5818, allocations: 3.043 MB / 1.398 GB, free: 3.223 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.5828, allocations: 302.9 kB / 1.398 GB, free: 2.926 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/0.5833, allocations: 20 kB / 1.398 GB, free: 2.906 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/0.5853, allocations: 291.5 kB / 1.399 GB, free: 2.621 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/0.5856, allocations: 88.42 kB / 1.399 GB, free: 2.535 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.5857, allocations: 39.91 kB / 1.399 GB, free: 2.496 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001209/0.5869, allocations: 0.6385 MB / 1.399 GB, free: 1.852 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.5869, allocations: 3.938 kB / 1.399 GB, free: 1.848 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001954/0.5889, allocations: 443.9 kB / 1.4 GB, free: 1.414 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003316/0.5892, allocations: 129 kB / 1.4 GB, free: 1.281 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008992/0.5982, allocations: 3.547 MB / 1.403 GB, free: 13.63 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.5982, allocations: 4 kB / 1.403 GB, free: 13.63 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005298/0.6035, allocations: 2.336 MB / 1.406 GB, free: 11.19 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/0.6067, allocations: 483.2 kB / 1.406 GB, free: 10.74 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.6178, allocations: 3.794 MB / 1.41 GB, free: 6.883 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.6192, allocations: 0.7976 MB / 1.411 GB, free: 6.047 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001598/0.6208, allocations: 358.6 kB / 1.411 GB, free: 5.691 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.6212, allocations: 99.38 kB / 1.411 GB, free: 5.594 MB / 1.107 GB Notification: Performance of SimCode: time 1.623e-06/0.6212, allocations: 0 / 1.411 GB, free: 5.594 MB / 1.107 GB Notification: Performance of Templates: time 0.05683/0.678, allocations: 33.4 MB / 1.444 GB, free: 4.816 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.287854477763176]