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.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.001401/0.001401, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001664/0.001664, allocations: 216.4 kB / 22.99 MB, free: 4.945 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.341/3.341, 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.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: 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.002129/0.002129, allocations: 68.98 kB / 1.187 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.405, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02905/0.434, allocations: 19.52 MB / 1.384 GB, free: 9.965 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.4479, allocations: 6.477 MB / 1.39 GB, free: 3.473 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.4502, allocations: 115.1 kB / 1.39 GB, free: 3.359 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006921/0.4571, allocations: 2.246 MB / 1.392 GB, free: 1.109 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004258/0.4614, allocations: 1.248 MB / 1.394 GB, free: 15.86 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00431/0.4657, allocations: 1.282 MB / 1.395 GB, free: 14.57 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007501/0.4732, allocations: 4.85 MB / 1.4 GB, free: 9.711 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007141/0.4803, allocations: 3.135 MB / 1.403 GB, free: 6.504 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004454/0.4848, allocations: 2.166 MB / 1.405 GB, free: 4.332 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005044/0.4898, allocations: 2.336 MB / 1.407 GB, free: 1.988 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001673/0.4915, allocations: 428 kB / 1.407 GB, free: 1.57 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00343/0.4949, allocations: 0.9362 MB / 1.408 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003415/0.4983, allocations: 1.711 MB / 1.41 GB, free: 14.91 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00452/0.5029, allocations: 1.549 MB / 1.411 GB, free: 13.36 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.5136, allocations: 6.573 MB / 1.418 GB, free: 6.77 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.5136, allocations: 0 / 1.418 GB, free: 6.77 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5136, allocations: 3.938 kB / 1.418 GB, free: 6.766 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002554/0.5139, allocations: 3.938 kB / 1.418 GB, free: 6.762 MB / 1.107 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.01182/0.5257, allocations: 3.466 MB / 1.421 GB, free: 3.246 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.5258, allocations: 8.031 kB / 1.421 GB, free: 3.238 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004569/0.5303, allocations: 0.6584 MB / 1.422 GB, free: 2.578 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006186/0.5365, allocations: 1.99 MB / 1.424 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.5368, allocations: 222.3 kB / 1.424 GB, free: 324 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/0.5382, allocations: 300.3 kB / 1.424 GB, free: 24 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.5516, allocations: 5.234 MB / 1.43 GB, free: 10.51 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001861/0.5518, allocations: 23.81 kB / 1.43 GB, free: 10.48 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/0.5529, allocations: 132 kB / 1.43 GB, free: 10.36 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005586/0.5534, allocations: 225.7 kB / 1.43 GB, free: 10.13 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008849/0.5623, allocations: 3.746 MB / 1.434 GB, free: 6.375 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02516/0.5874, allocations: 13.1 MB / 1.446 GB, free: 8.926 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.5896, allocations: 1.234 MB / 1.448 GB, free: 7.68 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.5913, allocations: 0.9874 MB / 1.448 GB, free: 6.695 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.461e-05/0.5914, allocations: 13 kB / 1.449 GB, free: 6.684 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/0.5915, allocations: 47.5 kB / 1.449 GB, free: 6.629 MB / 1.139 GB Notification: Performance of pre-optimization done (n=107): time 3.927e-06/0.5915, allocations: 0 / 1.449 GB, free: 6.629 MB / 1.139 GB Notification: Performance of matching and sorting (n=138): time 0.02776/0.6192, allocations: 8.42 MB / 1.457 GB, free: 14.2 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.6193, allocations: 68.72 kB / 1.457 GB, free: 14.12 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.6213, allocations: 1.059 MB / 1.458 GB, free: 13.05 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.6215, allocations: 53.7 kB / 1.458 GB, free: 13 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.6226, allocations: 1.339 MB / 1.459 GB, free: 11.65 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006561/0.6233, allocations: 0.4996 MB / 1.46 GB, free: 11.14 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006457/0.6239, allocations: 287.5 kB / 1.46 GB, free: 10.86 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6241, allocations: 313 kB / 1.46 GB, free: 10.55 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.6257, allocations: 0.9135 MB / 1.461 GB, free: 9.633 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.6277, allocations: 1.326 MB / 1.462 GB, free: 8.137 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/0.6315, allocations: 2.43 MB / 1.465 GB, free: 5.535 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/0.6315, allocations: 4 kB / 1.465 GB, free: 5.531 MB / 1.154 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006928/0.6385, allocations: 3.426 MB / 1.468 GB, free: 2.086 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.6385, allocations: 9.562 kB / 1.468 GB, free: 2.078 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.6385, allocations: 16.09 kB / 1.468 GB, free: 2.062 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003542/0.6421, allocations: 1.18 MB / 1.469 GB, free: 0.875 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.6432, allocations: 259.6 kB / 1.47 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/0.664, allocations: 13.25 MB / 1.483 GB, free: 3.066 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.6659, allocations: 92.09 kB / 1.483 GB, free: 2.977 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004224/0.6664, allocations: 71.94 kB / 1.483 GB, free: 2.906 MB / 1.17 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.003044/0.6694, allocations: 1.111 MB / 1.484 GB, free: 1.785 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006317/0.67, allocations: 163 kB / 1.484 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006866/0.6769, allocations: 3.133 MB / 1.487 GB, free: 14.47 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/0.6769, allocations: 15.94 kB / 1.487 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.215e-05/0.677, allocations: 12 kB / 1.487 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.677, allocations: 3.984 kB / 1.487 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.6891, allocations: 5.468 MB / 1.492 GB, free: 8.863 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.6891, allocations: 4 kB / 1.492 GB, free: 8.859 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006598/0.6898, allocations: 155.7 kB / 1.493 GB, free: 8.707 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003126/0.6929, allocations: 1.077 MB / 1.494 GB, free: 7.625 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.693, allocations: 24 kB / 1.494 GB, free: 7.602 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02034/0.7134, allocations: 12.95 MB / 1.506 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.988e-06/0.7134, allocations: 4 kB / 1.506 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008574/0.722, allocations: 3.119 MB / 1.509 GB, free: 7.141 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/0.7236, allocations: 346.9 kB / 1.51 GB, free: 6.801 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000548/0.7241, allocations: 27.98 kB / 1.51 GB, free: 6.773 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.7257, allocations: 79.91 kB / 1.51 GB, free: 6.695 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005772/0.7263, allocations: 132.6 kB / 1.51 GB, free: 6.566 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/0.7264, allocations: 40 kB / 1.51 GB, free: 6.527 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001938/0.7284, allocations: 0.7059 MB / 1.511 GB, free: 5.816 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7284, allocations: 0 / 1.511 GB, free: 5.816 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003506/0.7319, allocations: 0.6602 MB / 1.511 GB, free: 5.156 MB / 1.201 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.0004148/0.7323, allocations: 139 kB / 1.511 GB, free: 5.008 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.007914/0.7402, allocations: 3.001 MB / 1.514 GB, free: 1.969 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/0.7402, allocations: 0 / 1.514 GB, free: 1.969 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004905/0.7451, allocations: 1.888 MB / 1.516 GB, free: 40 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003754/0.7489, allocations: 486 kB / 1.517 GB, free: 15.57 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/0.7676, allocations: 5.952 MB / 1.522 GB, free: 9.531 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005062/0.7727, allocations: 1.812 MB / 1.524 GB, free: 7.684 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006437/0.7733, allocations: 91.42 kB / 1.524 GB, free: 7.594 MB / 1.217 GB Notification: Performance of SimCode: time 2.134e-06/0.7733, allocations: 4 kB / 1.524 GB, free: 7.59 MB / 1.217 GB Notification: Performance of Templates: time 0.1255/0.8988, allocations: 80.32 MB / 1.603 GB, free: 7.32 MB / 1.295 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 18.22398503869772]