Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001623/0.001623, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001835/0.001835, allocations: 221.2 kB / 23 MB, free: 4.914 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.311/3.311, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [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.002132/0.002132, allocations: 65.5 kB / 1.187 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3846, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02/0.4046, allocations: 13.95 MB / 1.378 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.4214, allocations: 9.97 MB / 1.388 GB, free: 5.625 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.4229, allocations: 87.25 kB / 1.388 GB, free: 5.539 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004767/0.4276, allocations: 1.686 MB / 1.39 GB, free: 3.848 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006303/0.4339, allocations: 1.857 MB / 1.392 GB, free: 1.988 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.4362, allocations: 0.7555 MB / 1.392 GB, free: 1.234 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004284/0.4405, allocations: 2.758 MB / 1.395 GB, free: 14.46 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.4424, allocations: 1.188 MB / 1.396 GB, free: 13.24 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.4454, allocations: 1.73 MB / 1.398 GB, free: 11.5 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.4471, allocations: 1.035 MB / 1.399 GB, free: 10.46 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.4473, allocations: 156 kB / 1.399 GB, free: 10.31 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.4489, allocations: 0.7174 MB / 1.4 GB, free: 9.594 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006495/0.4495, allocations: 0.6113 MB / 1.4 GB, free: 8.98 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009282/0.4505, allocations: 0.7737 MB / 1.401 GB, free: 8.203 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003337/0.4538, allocations: 2.763 MB / 1.404 GB, free: 5.43 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4538, allocations: 0 / 1.404 GB, free: 5.43 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4538, allocations: 4 kB / 1.404 GB, free: 5.426 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.786e-05/0.4538, allocations: 4 kB / 1.404 GB, free: 5.422 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004001/0.4578, allocations: 2.132 MB / 1.406 GB, free: 3.25 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4579, allocations: 16.02 kB / 1.406 GB, free: 3.234 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.4695, allocations: 2.113 MB / 1.408 GB, free: 1.117 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.4723, allocations: 1.197 MB / 1.409 GB, free: 15.87 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.351e-05/0.4724, allocations: 94.67 kB / 1.409 GB, free: 15.78 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.4727, allocations: 124.1 kB / 1.409 GB, free: 15.66 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006248/0.4789, allocations: 2.881 MB / 1.412 GB, free: 12.58 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/0.479, allocations: 7.938 kB / 1.412 GB, free: 12.57 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.4791, allocations: 51.98 kB / 1.412 GB, free: 12.52 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007045/0.4798, allocations: 194.1 kB / 1.412 GB, free: 12.33 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007966/0.4878, allocations: 2.787 MB / 1.415 GB, free: 9.531 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/0.5033, allocations: 8.127 MB / 1.423 GB, free: 1.242 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007018/0.5103, allocations: 2.175 MB / 1.425 GB, free: 15.05 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003312/0.5136, allocations: 1.202 MB / 1.426 GB, free: 13.85 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.69e-05/0.5137, allocations: 9 kB / 1.426 GB, free: 13.84 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.5138, allocations: 39.56 kB / 1.426 GB, free: 13.8 MB / 1.123 GB Notification: Performance of pre-optimization done (n=89): time 3.126e-06/0.5138, allocations: 0 / 1.426 GB, free: 13.8 MB / 1.123 GB Notification: Performance of matching and sorting (n=153): time 0.06317/0.5769, allocations: 15.98 MB / 1.442 GB, free: 13.79 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.577, allocations: 68.72 kB / 1.442 GB, free: 13.7 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.5785, allocations: 1.035 MB / 1.443 GB, free: 12.66 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.5787, allocations: 49.7 kB / 1.443 GB, free: 12.61 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006223/0.5794, allocations: 0.7635 MB / 1.444 GB, free: 11.83 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006051/0.58, allocations: 0.5344 MB / 1.444 GB, free: 11.29 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005821/0.5805, allocations: 295.5 kB / 1.445 GB, free: 11 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5807, allocations: 305.1 kB / 1.445 GB, free: 10.7 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00375/0.5844, allocations: 1.51 MB / 1.446 GB, free: 9.184 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004003/0.5884, allocations: 1.78 MB / 1.448 GB, free: 7.309 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007782/0.5962, allocations: 3.365 MB / 1.451 GB, free: 3.848 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.5962, allocations: 8 kB / 1.451 GB, free: 3.84 MB / 1.139 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01407/0.6103, allocations: 5.196 MB / 1.456 GB, free: 14.61 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.6103, allocations: 9.719 kB / 1.456 GB, free: 14.6 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.6103, allocations: 11.98 kB / 1.456 GB, free: 14.59 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007084/0.6174, allocations: 1.881 MB / 1.458 GB, free: 12.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/0.6195, allocations: 419.2 kB / 1.459 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0322/0.6517, allocations: 22.85 MB / 1.481 GB, free: 4.625 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/0.6545, allocations: 307.5 kB / 1.481 GB, free: 4.324 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/0.6547, allocations: 68.03 kB / 1.481 GB, free: 4.258 MB / 1.17 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,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001059/0.6558, allocations: 466.5 kB / 1.482 GB, free: 3.793 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/0.6563, allocations: 171 kB / 1.482 GB, free: 3.625 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/0.6707, allocations: 5.244 MB / 1.487 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.6708, allocations: 16 kB / 1.487 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-05/0.6708, allocations: 16 kB / 1.487 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/0.6708, allocations: 11.97 kB / 1.487 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01818/0.689, allocations: 6.797 MB / 1.494 GB, free: 7.391 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.689, allocations: 4 kB / 1.494 GB, free: 7.387 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/0.6908, allocations: 355.7 kB / 1.494 GB, free: 7.039 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006598/0.6974, allocations: 1.704 MB / 1.496 GB, free: 5.312 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/0.6976, allocations: 43.91 kB / 1.496 GB, free: 5.27 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.031/0.7286, allocations: 22.02 MB / 1.517 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.7286, allocations: 7.938 kB / 1.517 GB, free: 14.43 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/0.7417, allocations: 4.817 MB / 1.522 GB, free: 9.531 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/0.7429, allocations: 410.7 kB / 1.522 GB, free: 9.129 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003951/0.7433, allocations: 24 kB / 1.522 GB, free: 9.105 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002398/0.7457, allocations: 323.5 kB / 1.523 GB, free: 8.789 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000575/0.7463, allocations: 164.8 kB / 1.523 GB, free: 8.625 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.7465, allocations: 51.97 kB / 1.523 GB, free: 8.574 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001085/0.7475, allocations: 0.684 MB / 1.524 GB, free: 7.887 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.7475, allocations: 4 kB / 1.524 GB, free: 7.883 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002279/0.7498, allocations: 0.6484 MB / 1.524 GB, free: 7.234 MB / 1.217 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,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000364/0.7502, allocations: 139.2 kB / 1.524 GB, free: 7.09 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01227/0.7625, allocations: 4.925 MB / 1.529 GB, free: 2.062 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/0.7625, allocations: 4 kB / 1.529 GB, free: 2.059 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007846/0.7703, allocations: 3.28 MB / 1.532 GB, free: 14.67 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/0.773, allocations: 0.5138 MB / 1.533 GB, free: 14.18 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.7838, allocations: 4.475 MB / 1.537 GB, free: 9.641 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.7854, allocations: 0.9799 MB / 1.538 GB, free: 8.617 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/0.786, allocations: 123.3 kB / 1.538 GB, free: 8.5 MB / 1.232 GB Notification: Performance of SimCode: time 7.82e-07/0.786, allocations: 0 / 1.538 GB, free: 8.5 MB / 1.232 GB Notification: Performance of Templates: time 0.8263/1.612, allocations: 85.72 MB / 1.622 GB, free: 230.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 19.680377578362823]