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.001448/0.001448, allocations: 104.4 kB / 16.41 MB, free: 6.465 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.001682/0.001682, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.577/1.577, allocations: 222.9 MB / 241 MB, free: 15.09 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.259/2.259, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.91 kB / 0.9515 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7576, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02648/0.7841, allocations: 23.42 MB / 1.111 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01265/0.7968, allocations: 6.481 MB / 1.118 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.7995, allocations: 99.06 kB / 1.118 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004576/0.8041, allocations: 1.492 MB / 1.119 GB, free: 92 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005708/0.8098, allocations: 1.937 MB / 1.121 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004719/0.8146, allocations: 1.469 MB / 1.123 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.009946/0.8246, allocations: 6.914 MB / 1.129 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.836, allocations: 6.944 MB / 1.136 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005692/0.8417, allocations: 2.878 MB / 1.139 GB, free: 7.105 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006482/0.8482, allocations: 3.473 MB / 1.142 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002037/0.8503, allocations: 0.5258 MB / 1.143 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004071/0.8544, allocations: 1.177 MB / 1.144 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004772/0.8592, allocations: 2.463 MB / 1.147 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006912/0.8661, allocations: 2.536 MB / 1.149 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.8817, allocations: 8.521 MB / 1.157 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.8817, allocations: 9.453 kB / 1.157 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8817, allocations: 0 / 1.157 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003145/0.882, allocations: 0 / 1.157 GB, free: 14.46 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.01647/0.8985, allocations: 4.425 MB / 1.162 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8986, allocations: 8.969 kB / 1.162 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009997/0.9086, allocations: 1.683 MB / 1.163 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00683/0.9155, allocations: 2.691 MB / 1.166 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/0.9158, allocations: 279.8 kB / 1.166 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002254/0.9181, allocations: 359.4 kB / 1.167 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01985/0.938, allocations: 7.489 MB / 1.174 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002014/0.9382, allocations: 22.38 kB / 1.174 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001554/0.9398, allocations: 160.8 kB / 1.174 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007766/0.9406, allocations: 482 kB / 1.174 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01235/0.9529, allocations: 5.698 MB / 1.18 GB, free: 52 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04242/0.9954, allocations: 31.5 MB / 1.211 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.9985, allocations: 2.093 MB / 1.213 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003188/1.002, allocations: 2.182 MB / 1.215 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/1.002, allocations: 13.31 kB / 1.215 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/1.002, allocations: 51.88 kB / 1.215 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 3.326e-06/1.002, allocations: 3.938 kB / 1.215 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=251): time 0.3109/1.313, allocations: 77.02 MB / 1.29 GB, free: 12.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/1.313, allocations: 81.34 kB / 1.29 GB, free: 12.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/1.316, allocations: 1.674 MB / 1.292 GB, free: 10.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0005524/1.317, allocations: 65.7 kB / 1.292 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001175/1.318, allocations: 1.751 MB / 1.294 GB, free: 8.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.319, allocations: 0.847 MB / 1.295 GB, free: 7.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001308/1.32, allocations: 485.2 kB / 1.295 GB, free: 7.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/1.32, allocations: 309.1 kB / 1.295 GB, free: 6.945 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003894/1.324, allocations: 2.726 MB / 1.298 GB, free: 4.215 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004461/1.329, allocations: 3.336 MB / 1.301 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008918/1.338, allocations: 6.389 MB / 1.307 GB, free: 9.996 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/1.338, allocations: 7.938 kB / 1.307 GB, free: 9.988 MB / 1.045 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03377/1.371, allocations: 14.68 MB / 1.322 GB, free: 11.26 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/1.372, allocations: 12.97 kB / 1.322 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.941e-05/1.372, allocations: 16 kB / 1.322 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03183/1.403, allocations: 9.243 MB / 1.331 GB, free: 1.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/1.405, allocations: 303.4 kB / 1.331 GB, free: 1.664 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08421/1.489, allocations: 52.33 MB / 1.382 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003221/1.492, allocations: 223.7 kB / 1.382 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005405/1.493, allocations: 96 kB / 1.383 GB, free: 12.14 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.003866/1.497, allocations: 1.59 MB / 1.384 GB, free: 10.54 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.498, allocations: 249 kB / 1.384 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.034/1.532, allocations: 14.75 MB / 1.399 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-05/1.532, allocations: 31.94 kB / 1.399 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001546/1.532, allocations: 44 kB / 1.399 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-05/1.532, allocations: 15.89 kB / 1.399 GB, free: 11.4 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04615/1.578, allocations: 20.5 MB / 1.419 GB, free: 6.688 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-05/1.578, allocations: 4 kB / 1.419 GB, free: 6.684 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008467/1.579, allocations: 167.8 kB / 1.419 GB, free: 6.52 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02997/1.609, allocations: 9.005 MB / 1.428 GB, free: 13.49 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005887/1.61, allocations: 55.98 kB / 1.428 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08334/1.693, allocations: 51.91 MB / 1.479 GB, free: 8.641 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/1.693, allocations: 15.88 kB / 1.479 GB, free: 8.625 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03257/1.726, allocations: 14.36 MB / 1.493 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/1.728, allocations: 0.8455 MB / 1.493 GB, free: 9.25 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/1.729, allocations: 51.91 kB / 1.493 GB, free: 9.199 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.732, allocations: 211.7 kB / 1.494 GB, free: 8.992 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001503/1.734, allocations: 241.4 kB / 1.494 GB, free: 8.758 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003753/1.734, allocations: 72 kB / 1.494 GB, free: 8.688 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002096/1.736, allocations: 1.121 MB / 1.495 GB, free: 7.543 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.21e-07/1.736, allocations: 336 / 1.495 GB, free: 7.543 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.006423/1.743, allocations: 1.613 MB / 1.497 GB, free: 5.93 MB / 1.232 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.0005981/1.743, allocations: 167 kB / 1.497 GB, free: 5.758 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0232/1.766, allocations: 10.55 MB / 1.507 GB, free: 11.13 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.766, allocations: 0 / 1.507 GB, free: 11.13 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01852/1.785, allocations: 7.303 MB / 1.514 GB, free: 3.754 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004289/1.789, allocations: 0.5568 MB / 1.515 GB, free: 3.211 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/1.81, allocations: 9.325 MB / 1.524 GB, free: 9.797 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004726/1.815, allocations: 3.294 MB / 1.527 GB, free: 6.465 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/1.815, allocations: 115.4 kB / 1.527 GB, free: 6.352 MB / 1.264 GB Notification: Performance of SimCode: time 1.153e-06/1.815, allocations: 0 / 1.527 GB, free: 6.352 MB / 1.264 GB Notification: Performance of Templates: time 0.7543/2.57, allocations: 187.9 MB / 1.711 GB, free: 351.3 MB / 1.311 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