Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001634/0.001634, allocations: 109 kB / 16.41 MB, free: 6.516 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.001919/0.001919, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.429/1.429, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 63.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8866/0.8881, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02836/0.9165, allocations: 23.41 MB / 1.111 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.9296, allocations: 6.493 MB / 1.118 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003046/0.9327, allocations: 94.88 kB / 1.118 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004565/0.9373, allocations: 1.499 MB / 1.119 GB, free: 100 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007112/0.9444, allocations: 1.929 MB / 1.121 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005053/0.9495, allocations: 1.468 MB / 1.123 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01062/0.9601, allocations: 6.915 MB / 1.129 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01269/0.9728, allocations: 6.945 MB / 1.136 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008805/0.9817, allocations: 2.874 MB / 1.139 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008422/0.9901, allocations: 3.477 MB / 1.142 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.003512/0.9937, allocations: 0.5266 MB / 1.143 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005479/0.9992, allocations: 1.171 MB / 1.144 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005911/1.005, allocations: 2.465 MB / 1.147 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.009174/1.014, allocations: 2.536 MB / 1.149 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01696/1.031, allocations: 8.52 MB / 1.157 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.031, allocations: 0 / 1.157 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.314e-06/1.031, allocations: 5.25 kB / 1.157 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.000357/1.032, allocations: 3.938 kB / 1.157 GB, free: 14.48 MB / 0.9044 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.01813/1.05, allocations: 4.428 MB / 1.162 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.05, allocations: 8.094 kB / 1.162 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/1.061, allocations: 1.679 MB / 1.163 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008167/1.069, allocations: 2.694 MB / 1.166 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/1.069, allocations: 279.3 kB / 1.166 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001948/1.071, allocations: 364.7 kB / 1.167 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/1.093, allocations: 7.488 MB / 1.174 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002465/1.093, allocations: 9.656 kB / 1.174 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/1.095, allocations: 158.2 kB / 1.174 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008657/1.096, allocations: 489.9 kB / 1.174 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/1.111, allocations: 5.699 MB / 1.18 GB, free: 64 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05096/1.162, allocations: 31.5 MB / 1.211 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003568/1.166, allocations: 2.097 MB / 1.213 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003758/1.17, allocations: 2.182 MB / 1.215 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/1.17, allocations: 17.31 kB / 1.215 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.243e-05/1.17, allocations: 47.88 kB / 1.215 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 6.101e-06/1.17, allocations: 0 / 1.215 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of matching and sorting (n=251): time 0.3134/1.484, allocations: 77.02 MB / 1.29 GB, free: 12.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/1.484, allocations: 81.41 kB / 1.29 GB, free: 12.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003697/1.487, allocations: 1.67 MB / 1.292 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0006931/1.488, allocations: 65.7 kB / 1.292 GB, free: 10.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/1.49, allocations: 1.747 MB / 1.294 GB, free: 8.613 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001566/1.491, allocations: 0.8548 MB / 1.295 GB, free: 7.746 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001883/1.493, allocations: 485.2 kB / 1.295 GB, free: 7.266 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.493, allocations: 305.1 kB / 1.295 GB, free: 6.965 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004329/1.498, allocations: 2.73 MB / 1.298 GB, free: 4.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004918/1.502, allocations: 3.332 MB / 1.301 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008965/1.511, allocations: 6.397 MB / 1.307 GB, free: 10.01 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.4e-05/1.512, allocations: 4 kB / 1.307 GB, free: 10 MB / 1.045 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03375/1.545, allocations: 14.68 MB / 1.322 GB, free: 11.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/1.545, allocations: 12 kB / 1.322 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/1.545, allocations: 20 kB / 1.322 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03096/1.576, allocations: 9.236 MB / 1.331 GB, free: 1.977 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.578, allocations: 307.4 kB / 1.331 GB, free: 1.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08277/1.66, allocations: 52.34 MB / 1.382 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/1.664, allocations: 215.7 kB / 1.382 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000582/1.664, allocations: 99.98 kB / 1.383 GB, free: 12.15 MB / 1.123 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.003611/1.668, allocations: 1.582 MB / 1.384 GB, free: 10.55 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000824/1.669, allocations: 249 kB / 1.384 GB, free: 10.31 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03329/1.702, allocations: 14.75 MB / 1.399 GB, free: 11.5 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.513e-05/1.702, allocations: 19.89 kB / 1.399 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/1.702, allocations: 0 / 1.399 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002863/1.705, allocations: 0.8536 MB / 1.4 GB, free: 10.61 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000966/1.706, allocations: 40 kB / 1.4 GB, free: 10.57 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/1.709, allocations: 199.7 kB / 1.4 GB, free: 10.37 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001191/1.71, allocations: 484.9 kB / 1.4 GB, free: 9.895 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02734/1.737, allocations: 11.61 MB / 1.412 GB, free: 14.25 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01327/1.751, allocations: 9.077 MB / 1.421 GB, free: 5.145 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004001/1.755, allocations: 2.798 MB / 1.423 GB, free: 2.352 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002188/1.757, allocations: 1.129 MB / 1.424 GB, free: 1.199 MB / 1.154 GB Notification: Performance of Backend: time 3.81e-07/1.757, allocations: 0 / 1.424 GB, free: 1.199 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.02348/1.78, allocations: 8.301 MB / 1.432 GB, free: 8.812 MB / 1.17 GB Notification: Performance of SimCode: time 0.01848/1.799, allocations: 9.359 MB / 1.442 GB, free: 15.44 MB / 1.186 GB Notification: Performance of Templates: time 0.1358/1.935, allocations: 82.69 MB / 1.522 GB, free: 13 MB / 1.264 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches