Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008838/0.008838, allocations: 100.9 kB / 15.73 MB, free: 6.477 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.001531/0.001531, allocations: 191.5 kB / 16.67 MB, free: 6.391 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.514/1.514, allocations: 222.9 MB / 240.3 MB, free: 4.324 MB / 190.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.585/2.585, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 66.56 kB / 0.9508 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3148, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009496/0.3243, allocations: 6.808 MB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005912/0.3303, allocations: 3.071 MB / 1.098 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008561/0.3312, allocations: 27.81 kB / 1.098 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.3339, allocations: 0.9477 MB / 1.099 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.3356, allocations: 0.5011 MB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.3368, allocations: 443 kB / 1.099 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001656/0.3385, allocations: 1.232 MB / 1.101 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.3396, allocations: 0.6662 MB / 1.101 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008184/0.3404, allocations: 474.3 kB / 1.102 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009301/0.3413, allocations: 0.5215 MB / 1.102 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.3415, allocations: 68 kB / 1.102 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008724/0.3424, allocations: 379.2 kB / 1.103 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003728/0.3428, allocations: 315.2 kB / 1.103 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006139/0.3434, allocations: 449.7 kB / 1.103 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.345, allocations: 1.219 MB / 1.105 GB, free: 376 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.345, allocations: 0 / 1.105 GB, free: 376 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.345, allocations: 0 / 1.105 GB, free: 376 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.112e-05/0.345, allocations: 0 / 1.105 GB, free: 376 kB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002206/0.3473, allocations: 1.169 MB / 1.106 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3473, allocations: 12.03 kB / 1.106 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.3489, allocations: 231.6 kB / 1.106 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3499, allocations: 0.6115 MB / 1.107 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.3499, allocations: 53.67 kB / 1.107 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.3501, allocations: 60.36 kB / 1.107 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.3516, allocations: 1.081 MB / 1.108 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.3517, allocations: 3.938 kB / 1.108 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.3518, allocations: 35.98 kB / 1.108 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001454/0.3519, allocations: 93.23 kB / 1.108 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.3532, allocations: 0.7465 MB / 1.109 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005514/0.3587, allocations: 5.874 MB / 1.114 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009548/0.3597, allocations: 0.5648 MB / 1.115 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004323/0.3602, allocations: 330 kB / 1.115 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.3602, allocations: 4.438 kB / 1.115 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3603, allocations: 39 kB / 1.115 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.074e-06/0.3603, allocations: 4 kB / 1.115 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.004054/0.3643, allocations: 1.986 MB / 1.117 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.3644, allocations: 59.78 kB / 1.117 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/0.3651, allocations: 0.5587 MB / 1.118 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.3651, allocations: 37.7 kB / 1.118 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.3654, allocations: 414.9 kB / 1.118 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.3655, allocations: 173.6 kB / 1.118 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.3658, allocations: 130.4 kB / 1.119 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3659, allocations: 378.7 kB / 1.119 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.3663, allocations: 273.8 kB / 1.119 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.3669, allocations: 497 kB / 1.12 GB, free: 116 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.3679, allocations: 0.8093 MB / 1.12 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3679, allocations: 4 kB / 1.12 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001862/0.3698, allocations: 1.087 MB / 1.121 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.3698, allocations: 8 kB / 1.121 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.3698, allocations: 8 kB / 1.121 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008983/0.3707, allocations: 275.4 kB / 1.122 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.3712, allocations: 127.8 kB / 1.122 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006726/0.378, allocations: 7.137 MB / 1.129 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/0.3787, allocations: 35.97 kB / 1.129 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.936e-05/0.3788, allocations: 28 kB / 1.129 GB, free: 5.91 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0005028/0.3793, allocations: 257.6 kB / 1.129 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.3795, allocations: 79.16 kB / 1.129 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.3813, allocations: 0.8886 MB / 1.13 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3813, allocations: 4 kB / 1.13 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.3813, allocations: 4 kB / 1.13 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3813, allocations: 4 kB / 1.13 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.3844, allocations: 1.728 MB / 1.132 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3844, allocations: 0 / 1.132 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.3847, allocations: 67.83 kB / 1.132 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007926/0.3855, allocations: 267.5 kB / 1.132 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.3855, allocations: 12 kB / 1.132 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006808/0.3924, allocations: 7.122 MB / 1.139 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3924, allocations: 0 / 1.139 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.394, allocations: 0.9873 MB / 1.14 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.3944, allocations: 192.2 kB / 1.14 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.3946, allocations: 16 kB / 1.14 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.3951, allocations: 27.91 kB / 1.14 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.3952, allocations: 43.94 kB / 1.14 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.3952, allocations: 15.94 kB / 1.14 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006148/0.3959, allocations: 391.1 kB / 1.141 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3959, allocations: 0 / 1.141 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001243/0.3971, allocations: 220 kB / 1.141 GB, free: 8.863 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002512/0.3974, allocations: 121.4 kB / 1.141 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002837/0.4002, allocations: 1.279 MB / 1.142 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.4003, allocations: 0 / 1.142 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.4017, allocations: 0.8974 MB / 1.143 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.4028, allocations: 216.3 kB / 1.143 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.4056, allocations: 1.336 MB / 1.145 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008792/0.4065, allocations: 1.013 MB / 1.146 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004653/0.407, allocations: 122 kB / 1.146 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.4071, allocations: 43.44 kB / 1.146 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of SimCode: time 5.51e-07/0.4071, allocations: 0 / 1.146 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.02121/0.4283, allocations: 11.55 MB / 1.157 GB, free: 8.238 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches