Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 105 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.115/3.115, allocations: 496.1 MB / 0.7801 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 68.77 kB / 1.133 GB, free: 34.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3402, allocations: 173.7 MB / 1.303 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02717/0.3674, allocations: 20.58 MB / 1.323 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.3801, allocations: 6.523 MB / 1.329 GB, free: 7.387 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.382, allocations: 91.5 kB / 1.329 GB, free: 7.297 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006141/0.3882, allocations: 2.264 MB / 1.331 GB, free: 5.027 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.3916, allocations: 1.244 MB / 1.333 GB, free: 3.777 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.395, allocations: 1.289 MB / 1.334 GB, free: 2.488 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00638/0.4014, allocations: 4.85 MB / 1.339 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006944/0.4083, allocations: 4.233 MB / 1.343 GB, free: 9.328 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003887/0.4122, allocations: 2.123 MB / 1.345 GB, free: 7.199 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004489/0.4167, allocations: 2.481 MB / 1.347 GB, free: 4.711 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00124/0.4179, allocations: 428 kB / 1.348 GB, free: 4.293 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.4206, allocations: 1.022 MB / 1.349 GB, free: 3.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002465/0.4231, allocations: 1.711 MB / 1.35 GB, free: 1.555 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003585/0.4267, allocations: 1.91 MB / 1.352 GB, free: 15.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00857/0.4352, allocations: 6.534 MB / 1.359 GB, free: 9.082 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4352, allocations: 0 / 1.359 GB, free: 9.082 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4352, allocations: 4 kB / 1.359 GB, free: 9.078 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001634/0.4354, allocations: 0 / 1.359 GB, free: 9.078 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007782/0.4432, allocations: 3.539 MB / 1.362 GB, free: 5.473 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4432, allocations: 15.97 kB / 1.362 GB, free: 5.457 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.4466, allocations: 0.6545 MB / 1.363 GB, free: 4.801 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003464/0.4501, allocations: 2.05 MB / 1.365 GB, free: 2.691 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.4503, allocations: 226.3 kB / 1.365 GB, free: 2.469 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004523/0.4507, allocations: 292.3 kB / 1.365 GB, free: 2.184 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007921/0.4586, allocations: 4.89 MB / 1.37 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.617e-05/0.4587, allocations: 15.89 kB / 1.37 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003068/0.459, allocations: 124 kB / 1.37 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004282/0.4594, allocations: 233.7 kB / 1.37 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006139/0.4656, allocations: 3.746 MB / 1.374 GB, free: 8.969 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02733/0.4929, allocations: 21.44 MB / 1.395 GB, free: 1.531 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.495, allocations: 1.23 MB / 1.396 GB, free: 292 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.4966, allocations: 0.9791 MB / 1.397 GB, free: 15.3 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-05/0.4966, allocations: 17 kB / 1.397 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.4967, allocations: 47.5 kB / 1.397 GB, free: 15.23 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.026e-06/0.4967, allocations: 4 kB / 1.397 GB, free: 15.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=138): time 0.02606/0.5228, allocations: 8.665 MB / 1.406 GB, free: 6.512 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.5228, allocations: 64.72 kB / 1.406 GB, free: 6.438 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.5245, allocations: 1.138 MB / 1.407 GB, free: 5.293 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.5246, allocations: 45.7 kB / 1.407 GB, free: 5.242 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.5257, allocations: 1.335 MB / 1.408 GB, free: 3.895 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004603/0.5261, allocations: 0.4957 MB / 1.409 GB, free: 3.395 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005219/0.5266, allocations: 291.5 kB / 1.409 GB, free: 3.102 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5268, allocations: 305.1 kB / 1.409 GB, free: 2.801 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.5282, allocations: 0.9135 MB / 1.41 GB, free: 1.887 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.5299, allocations: 1.326 MB / 1.411 GB, free: 400 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/0.5333, allocations: 2.43 MB / 1.414 GB, free: 13.79 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.5333, allocations: 4 kB / 1.414 GB, free: 13.79 MB / 1.123 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006474/0.5398, allocations: 3.426 MB / 1.417 GB, free: 10.34 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.5398, allocations: 12 kB / 1.417 GB, free: 10.33 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.5398, allocations: 12.09 kB / 1.417 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003488/0.5433, allocations: 1.185 MB / 1.418 GB, free: 9.129 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.5443, allocations: 255.6 kB / 1.419 GB, free: 8.879 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/0.5644, allocations: 13.86 MB / 1.432 GB, free: 10.61 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.5659, allocations: 91.97 kB / 1.432 GB, free: 10.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/0.5661, allocations: 63.94 kB / 1.432 GB, free: 10.45 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002194/0.5683, allocations: 1.114 MB / 1.433 GB, free: 9.328 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005167/0.5688, allocations: 178.9 kB / 1.433 GB, free: 9.152 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006375/0.5752, allocations: 3.126 MB / 1.437 GB, free: 6.004 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.5752, allocations: 12 kB / 1.437 GB, free: 5.992 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-05/0.5753, allocations: 15.94 kB / 1.437 GB, free: 5.977 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.5753, allocations: 7.969 kB / 1.437 GB, free: 5.969 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.5868, allocations: 6.206 MB / 1.443 GB, free: 15.62 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.5868, allocations: 4.562 kB / 1.443 GB, free: 15.62 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/0.5874, allocations: 147.8 kB / 1.443 GB, free: 15.47 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003085/0.5905, allocations: 1.071 MB / 1.444 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.5906, allocations: 28 kB / 1.444 GB, free: 14.37 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/0.6098, allocations: 13.55 MB / 1.457 GB, free: 404 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.6098, allocations: 4 kB / 1.457 GB, free: 400 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005845/0.6156, allocations: 3.116 MB / 1.46 GB, free: 13.19 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000894/0.6165, allocations: 435.9 kB / 1.461 GB, free: 12.74 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000341/0.6168, allocations: 35.89 kB / 1.461 GB, free: 12.71 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.6179, allocations: 91.83 kB / 1.461 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003822/0.6182, allocations: 120.7 kB / 1.461 GB, free: 12.5 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.6184, allocations: 36 kB / 1.461 GB, free: 12.46 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001258/0.6196, allocations: 0.7671 MB / 1.462 GB, free: 11.7 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6196, allocations: 4 kB / 1.462 GB, free: 11.69 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002148/0.6218, allocations: 0.664 MB / 1.462 GB, free: 11.03 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000264/0.622, allocations: 139.1 kB / 1.462 GB, free: 10.88 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005359/0.6274, allocations: 3.005 MB / 1.465 GB, free: 7.84 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6274, allocations: 0 / 1.465 GB, free: 7.84 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003357/0.6308, allocations: 1.885 MB / 1.467 GB, free: 5.918 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.6333, allocations: 0.493 MB / 1.468 GB, free: 5.438 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.6439, allocations: 5.459 MB / 1.473 GB, free: 15.89 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00299/0.6469, allocations: 2.34 MB / 1.475 GB, free: 13.52 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001148/0.648, allocations: 346.1 kB / 1.476 GB, free: 13.17 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.6483, allocations: 95.36 kB / 1.476 GB, free: 13.08 MB / 1.186 GB Notification: Performance of SimCode: time 7.41e-07/0.6483, allocations: 0 / 1.476 GB, free: 13.08 MB / 1.186 GB Notification: Performance of Templates: time 0.06555/0.7139, allocations: 33.56 MB / 1.508 GB, free: 11.96 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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: 9.708405175246298]