Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 191.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7343 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 63.39 kB / 0.8986 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.321, allocations: 157.4 MB / 1.052 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02571/0.3468, allocations: 23.25 MB / 1.075 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.3579, allocations: 6.445 MB / 1.081 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/0.3603, allocations: 83.5 kB / 1.081 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004234/0.3645, allocations: 1.361 MB / 1.083 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00541/0.3699, allocations: 1.704 MB / 1.084 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003994/0.3739, allocations: 1.329 MB / 1.086 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008596/0.3826, allocations: 6.931 MB / 1.092 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01327/0.3959, allocations: 8.148 MB / 1.1 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005363/0.4013, allocations: 2.882 MB / 1.103 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006184/0.4075, allocations: 3.689 MB / 1.107 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001887/0.4094, allocations: 0.5273 MB / 1.107 GB, free: 220 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.4129, allocations: 1.17 MB / 1.108 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.004063/0.417, allocations: 2.468 MB / 1.111 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005321/0.4224, allocations: 2.532 MB / 1.113 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.4327, allocations: 8.518 MB / 1.122 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4328, allocations: 0 / 1.122 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4328, allocations: 0 / 1.122 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003045/0.4331, allocations: 0 / 1.122 GB, free: 1.484 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.0115/0.4446, allocations: 4.439 MB / 1.126 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4447, allocations: 8.625 kB / 1.126 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008718/0.4534, allocations: 1.685 MB / 1.128 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005324/0.4588, allocations: 2.571 MB / 1.13 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.459, allocations: 275.7 kB / 1.13 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009987/0.46, allocations: 368.3 kB / 1.131 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.4732, allocations: 7.487 MB / 1.138 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-05/0.4734, allocations: 15.84 kB / 1.138 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004574/0.4738, allocations: 159.9 kB / 1.138 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005713/0.4744, allocations: 487.3 kB / 1.139 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.4844, allocations: 5.701 MB / 1.144 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03698/0.5215, allocations: 31.71 MB / 1.175 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/0.5244, allocations: 2.093 MB / 1.177 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/0.5273, allocations: 2.17 MB / 1.179 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.5275, allocations: 25.3 kB / 1.179 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.5275, allocations: 47.86 kB / 1.179 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 2.905e-06/0.5275, allocations: 0 / 1.179 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of matching and sorting (n=251): time 0.7697/1.297, allocations: 77 MB / 1.255 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/1.297, allocations: 76.59 kB / 1.255 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/1.3, allocations: 1.668 MB / 1.256 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005795/1.3, allocations: 67.16 kB / 1.256 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/1.301, allocations: 1.75 MB / 1.258 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/1.302, allocations: 0.8515 MB / 1.259 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/1.304, allocations: 485.6 kB / 1.259 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/1.304, allocations: 301.9 kB / 1.26 GB, free: 177 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005457/1.309, allocations: 2.729 MB / 1.262 GB, free: 177 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004961/1.314, allocations: 3.334 MB / 1.266 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009108/1.323, allocations: 6.397 MB / 1.272 GB, free: 174 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.361e-05/1.323, allocations: 5.281 kB / 1.272 GB, free: 174 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03584/1.359, allocations: 14.69 MB / 1.286 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.456e-05/1.359, allocations: 13.25 kB / 1.286 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.974e-05/1.359, allocations: 19.78 kB / 1.286 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02723/1.387, allocations: 9.292 MB / 1.295 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.388, allocations: 302.5 kB / 1.296 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06461/1.453, allocations: 52.37 MB / 1.347 GB, free: 112.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/1.456, allocations: 227.6 kB / 1.347 GB, free: 112.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003479/1.457, allocations: 100 kB / 1.347 GB, free: 112.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003109/1.46, allocations: 1.586 MB / 1.349 GB, free: 110.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006434/1.46, allocations: 241.1 kB / 1.349 GB, free: 110.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02744/1.488, allocations: 14.76 MB / 1.363 GB, free: 95.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/1.488, allocations: 27.94 kB / 1.363 GB, free: 95.49 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001581/1.488, allocations: 45.17 kB / 1.363 GB, free: 95.45 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.285e-05/1.488, allocations: 11.95 kB / 1.363 GB, free: 95.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03467/1.523, allocations: 20.52 MB / 1.383 GB, free: 74.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.101e-05/1.523, allocations: 11.56 kB / 1.383 GB, free: 74.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006979/1.523, allocations: 167.7 kB / 1.384 GB, free: 74.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02556/1.549, allocations: 9.053 MB / 1.392 GB, free: 65.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005576/1.55, allocations: 51.98 kB / 1.392 GB, free: 65.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06307/1.613, allocations: 51.95 MB / 1.443 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.613, allocations: 11.94 kB / 1.443 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02643/1.639, allocations: 14.37 MB / 1.457 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/1.641, allocations: 0.8415 MB / 1.458 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005522/1.642, allocations: 55.92 kB / 1.458 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/1.644, allocations: 207.7 kB / 1.458 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/1.645, allocations: 237.5 kB / 1.459 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/1.645, allocations: 64 kB / 1.459 GB, free: 12.74 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001516/1.647, allocations: 1.129 MB / 1.46 GB, free: 11.59 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.647, allocations: 0 / 1.46 GB, free: 11.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005129/1.652, allocations: 1.609 MB / 1.461 GB, free: 9.98 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005354/1.653, allocations: 163 kB / 1.461 GB, free: 9.812 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02329/1.676, allocations: 11.33 MB / 1.472 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.676, allocations: 0 / 1.472 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.01666/1.693, allocations: 7.304 MB / 1.48 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/1.696, allocations: 0.5675 MB / 1.48 GB, free: 6.523 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/1.711, allocations: 10.62 MB / 1.491 GB, free: 11.88 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003703/1.715, allocations: 3.228 MB / 1.494 GB, free: 8.609 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001331/1.716, allocations: 388.4 kB / 1.494 GB, free: 8.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/1.716, allocations: 95.44 kB / 1.494 GB, free: 8.137 MB / 1.045 GB Notification: Performance of SimCode: time 8.42e-07/1.716, allocations: 0 / 1.494 GB, free: 8.137 MB / 1.045 GB Notification: Performance of Templates: time 0.1354/1.852, allocations: 93.08 MB / 1.585 GB, free: 11.34 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches