Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001403/0.001403, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001633/0.001633, allocations: 213.9 kB / 22.25 MB, free: 5.078 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.175/3.175, allocations: 0.49 GB / 0.7951 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [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.002078/0.002078, allocations: 71.23 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3382, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0421/0.3803, allocations: 34.27 MB / 1.36 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01866/0.399, allocations: 10.69 MB / 1.37 GB, free: 4.344 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002896/0.4019, allocations: 202.5 kB / 1.37 GB, free: 4.145 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0102/0.4121, allocations: 3.89 MB / 1.374 GB, free: 252 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006157/0.4182, allocations: 1.948 MB / 1.376 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006148/0.4244, allocations: 2.197 MB / 1.378 GB, free: 12.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01009/0.4344, allocations: 7.323 MB / 1.385 GB, free: 4.746 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009312/0.4438, allocations: 5.154 MB / 1.39 GB, free: 15.47 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005577/0.4493, allocations: 3.272 MB / 1.394 GB, free: 12.19 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00707/0.4564, allocations: 3.684 MB / 1.397 GB, free: 8.492 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002131/0.4585, allocations: 0.6445 MB / 1.398 GB, free: 7.848 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004753/0.4633, allocations: 1.81 MB / 1.4 GB, free: 6.035 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004475/0.4678, allocations: 2.607 MB / 1.402 GB, free: 3.422 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005833/0.4736, allocations: 2.898 MB / 1.405 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.4882, allocations: 10.13 MB / 1.415 GB, free: 6.348 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.4882, allocations: 4 kB / 1.415 GB, free: 6.344 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4882, allocations: 3.938 kB / 1.415 GB, free: 6.34 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004381/0.4887, allocations: 0 / 1.415 GB, free: 6.34 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0147/0.5034, allocations: 5.06 MB / 1.42 GB, free: 1.219 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5034, allocations: 8.031 kB / 1.42 GB, free: 1.211 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00548/0.5089, allocations: 0.9735 MB / 1.421 GB, free: 240 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008451/0.5173, allocations: 3.003 MB / 1.424 GB, free: 13.16 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003281/0.5177, allocations: 345.7 kB / 1.424 GB, free: 12.82 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/0.519, allocations: 468.3 kB / 1.425 GB, free: 12.36 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/0.5335, allocations: 7.663 MB / 1.432 GB, free: 4.352 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.5336, allocations: 27.83 kB / 1.432 GB, free: 4.324 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005199/0.5341, allocations: 200 kB / 1.432 GB, free: 4.129 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003604/0.5345, allocations: 312.9 kB / 1.433 GB, free: 3.82 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.5447, allocations: 5.71 MB / 1.438 GB, free: 14.09 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03937/0.584, allocations: 34.57 MB / 1.472 GB, free: 8.309 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.5866, allocations: 1.554 MB / 1.473 GB, free: 6.746 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.5882, allocations: 1.124 MB / 1.475 GB, free: 5.625 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-05/0.5883, allocations: 25.31 kB / 1.475 GB, free: 5.598 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.5883, allocations: 43.88 kB / 1.475 GB, free: 5.547 MB / 1.17 GB Notification: Performance of pre-optimization done (n=133): time 3.206e-06/0.5883, allocations: 0 / 1.475 GB, free: 5.547 MB / 1.17 GB Notification: Performance of matching and sorting (n=136): time 0.01337/0.6017, allocations: 6.207 MB / 1.481 GB, free: 15.3 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.6018, allocations: 64.72 kB / 1.481 GB, free: 15.22 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.6038, allocations: 1.488 MB / 1.482 GB, free: 13.69 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.6039, allocations: 45.7 kB / 1.482 GB, free: 13.64 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.6054, allocations: 2.069 MB / 1.484 GB, free: 11.55 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005254/0.606, allocations: 0.4996 MB / 1.485 GB, free: 11.04 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005282/0.6065, allocations: 367.3 kB / 1.485 GB, free: 10.68 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.6066, allocations: 305.1 kB / 1.485 GB, free: 10.38 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.608, allocations: 0.9096 MB / 1.486 GB, free: 9.465 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.6099, allocations: 1.597 MB / 1.488 GB, free: 7.559 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003576/0.6135, allocations: 2.729 MB / 1.49 GB, free: 4.516 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.6135, allocations: 4 kB / 1.49 GB, free: 4.512 MB / 1.186 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006327/0.6198, allocations: 3.515 MB / 1.494 GB, free: 0.9492 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.6199, allocations: 16 kB / 1.494 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.073e-05/0.6199, allocations: 24 kB / 1.494 GB, free: 0.9102 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002618/0.6225, allocations: 0.9004 MB / 1.495 GB, free: 15.97 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.6237, allocations: 351.3 kB / 1.495 GB, free: 15.63 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02301/0.6467, allocations: 21.89 MB / 1.517 GB, free: 8.371 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.6483, allocations: 108 kB / 1.517 GB, free: 8.266 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.6484, allocations: 80 kB / 1.517 GB, free: 8.188 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002695/0.6511, allocations: 1.613 MB / 1.518 GB, free: 6.566 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004114/0.6515, allocations: 214.6 kB / 1.518 GB, free: 6.355 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005612/0.6572, allocations: 2.966 MB / 1.521 GB, free: 3.34 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.6572, allocations: 16 kB / 1.521 GB, free: 3.324 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.6572, allocations: 12 kB / 1.521 GB, free: 3.312 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.6572, allocations: 7.969 kB / 1.521 GB, free: 3.305 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.6697, allocations: 7.293 MB / 1.529 GB, free: 11.78 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.6697, allocations: 4 kB / 1.529 GB, free: 11.78 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.6704, allocations: 179.7 kB / 1.529 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/0.6728, allocations: 0.8219 MB / 1.53 GB, free: 10.74 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.299e-05/0.6729, allocations: 35.94 kB / 1.53 GB, free: 10.71 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0231/0.696, allocations: 20.71 MB / 1.55 GB, free: 4.613 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/0.696, allocations: 11.94 kB / 1.55 GB, free: 4.602 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005767/0.7018, allocations: 3.007 MB / 1.553 GB, free: 1.477 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/0.703, allocations: 398.5 kB / 1.553 GB, free: 1.086 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.7033, allocations: 39.86 kB / 1.553 GB, free: 1.047 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007866/0.7041, allocations: 63.92 kB / 1.553 GB, free: 0.9844 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/0.7044, allocations: 132.6 kB / 1.553 GB, free: 0.8555 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.649e-05/0.7045, allocations: 36 kB / 1.553 GB, free: 0.8203 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001459/0.706, allocations: 0.9756 MB / 1.554 GB, free: 15.82 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.706, allocations: 0 / 1.554 GB, free: 15.82 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003269/0.7093, allocations: 0.7929 MB / 1.555 GB, free: 15.03 MB / 1.264 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003096/0.7096, allocations: 143 kB / 1.555 GB, free: 14.88 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00641/0.716, allocations: 3.918 MB / 1.559 GB, free: 10.81 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.716, allocations: 4 kB / 1.559 GB, free: 10.8 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004106/0.7201, allocations: 2.666 MB / 1.562 GB, free: 7.98 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/0.7232, allocations: 0.7374 MB / 1.562 GB, free: 7.27 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.7367, allocations: 7.344 MB / 1.57 GB, free: 15.83 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003954/0.7407, allocations: 3.109 MB / 1.573 GB, free: 12.7 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001537/0.7422, allocations: 461.9 kB / 1.573 GB, free: 12.24 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.7425, allocations: 115.4 kB / 1.573 GB, free: 12.13 MB / 1.279 GB Notification: Performance of SimCode: time 1.673e-06/0.7425, allocations: 0 / 1.573 GB, free: 12.13 MB / 1.279 GB Notification: Performance of Templates: time 0.6974/1.44, allocations: 37.94 MB / 1.61 GB, free: 251.9 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.758057496976107]