Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 106.9 kB / 16.27 MB, free: 6.355 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.001339/0.001339, allocations: 192.6 kB / 17.2 MB, free: 5.953 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 437.1 MB / 0.711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 64 kB / 0.8699 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3146, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04015/0.3548, allocations: 32.62 MB / 1.05 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01973/0.3746, allocations: 10.27 MB / 1.06 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003483/0.3781, allocations: 147.2 kB / 1.06 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.3886, allocations: 3.715 MB / 1.064 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005941/0.3946, allocations: 1.858 MB / 1.065 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006439/0.4011, allocations: 2.131 MB / 1.068 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01046/0.4116, allocations: 7.322 MB / 1.075 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5077/0.9193, allocations: 9.481 MB / 1.084 GB, free: 18.92 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007016/0.9264, allocations: 3.161 MB / 1.087 GB, free: 18.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007716/0.9342, allocations: 3.484 MB / 1.09 GB, free: 18.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003112/0.9373, allocations: 0.6474 MB / 1.091 GB, free: 18.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006674/0.944, allocations: 1.767 MB / 1.093 GB, free: 18.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00737/0.9514, allocations: 2.548 MB / 1.095 GB, free: 18.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00864/0.9601, allocations: 2.895 MB / 1.098 GB, free: 17.55 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01738/0.9775, allocations: 10.05 MB / 1.108 GB, free: 16.67 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.9775, allocations: 0 / 1.108 GB, free: 16.67 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9776, allocations: 4 kB / 1.108 GB, free: 16.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003627/0.9779, allocations: 1.375 kB / 1.108 GB, free: 16.66 MB / 0.8419 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.01887/0.9968, allocations: 4.998 MB / 1.113 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.9969, allocations: 10.58 kB / 1.113 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008671/1.006, allocations: 0.952 MB / 1.114 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008527/1.014, allocations: 2.857 MB / 1.117 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003863/1.015, allocations: 345.9 kB / 1.117 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003184/1.018, allocations: 464.6 kB / 1.117 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02508/1.043, allocations: 7.67 MB / 1.125 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002652/1.043, allocations: 30.5 kB / 1.125 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002051/1.045, allocations: 199.6 kB / 1.125 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004136/1.046, allocations: 313.5 kB / 1.125 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/1.059, allocations: 5.71 MB / 1.131 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04323/1.102, allocations: 35.1 MB / 1.165 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/1.105, allocations: 2.156 MB / 1.167 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/1.107, allocations: 1.263 MB / 1.169 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-05/1.107, allocations: 15 kB / 1.169 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/1.107, allocations: 43.34 kB / 1.169 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=133): time 3.507e-06/1.107, allocations: 0 / 1.169 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of matching and sorting (n=136): time 0.01481/1.122, allocations: 7.09 MB / 1.175 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/1.122, allocations: 68.38 kB / 1.176 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/1.124, allocations: 1.488 MB / 1.177 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002323/1.124, allocations: 45.7 kB / 1.177 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001604/1.126, allocations: 2.006 MB / 1.179 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006244/1.127, allocations: 493.2 kB / 1.179 GB, free: 11 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005931/1.127, allocations: 350.9 kB / 1.18 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.127, allocations: 301.1 kB / 1.18 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/1.129, allocations: 0.9174 MB / 1.181 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/1.131, allocations: 1.585 MB / 1.183 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003802/1.135, allocations: 2.744 MB / 1.185 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/1.135, allocations: 4 kB / 1.185 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006896/1.142, allocations: 3.529 MB / 1.189 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/1.142, allocations: 14.66 kB / 1.189 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-05/1.142, allocations: 24 kB / 1.189 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/1.145, allocations: 0.9151 MB / 1.19 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1.146, allocations: 355.6 kB / 1.19 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0241/1.17, allocations: 23.12 MB / 1.213 GB, free: 7.203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/1.172, allocations: 95.97 kB / 1.213 GB, free: 7.109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/1.172, allocations: 92.45 kB / 1.213 GB, free: 7.02 MB / 0.92 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.003216/1.176, allocations: 1.606 MB / 1.214 GB, free: 5.43 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000483/1.176, allocations: 205.5 kB / 1.214 GB, free: 5.227 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005887/1.182, allocations: 2.997 MB / 1.217 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/1.182, allocations: 12 kB / 1.217 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/1.182, allocations: 12 kB / 1.217 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/1.182, allocations: 11.97 kB / 1.217 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/1.196, allocations: 7.334 MB / 1.225 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/1.196, allocations: 8 kB / 1.225 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008802/1.197, allocations: 174.1 kB / 1.225 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002613/1.2, allocations: 0.8272 MB / 1.226 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/1.2, allocations: 32.09 kB / 1.226 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02279/1.222, allocations: 21.95 MB / 1.247 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.223, allocations: 7.938 kB / 1.247 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005883/1.228, allocations: 3.02 MB / 1.25 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.23, allocations: 466.5 kB / 1.25 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003446/1.23, allocations: 27.94 kB / 1.25 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/1.231, allocations: 75.91 kB / 1.251 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/1.231, allocations: 126.5 kB / 1.251 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.988e-05/1.232, allocations: 36 kB / 1.251 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00152/1.233, allocations: 0.9756 MB / 1.252 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/1.233, allocations: 3.375 kB / 1.252 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003238/1.236, allocations: 0.7812 MB / 1.252 GB, free: 12.49 MB / 0.9669 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.0002881/1.237, allocations: 150 kB / 1.253 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007935/1.245, allocations: 4.651 MB / 1.257 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.245, allocations: 0 / 1.257 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004191/1.249, allocations: 2.732 MB / 1.26 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/1.253, allocations: 0.7275 MB / 1.26 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/1.269, allocations: 7.84 MB / 1.268 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005011/1.274, allocations: 3.187 MB / 1.271 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/1.274, allocations: 123.4 kB / 1.271 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of SimCode: time 9.92e-07/1.274, allocations: 0 / 1.271 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of Templates: time 0.8626/2.137, allocations: 321.5 MB / 1.585 GB, free: 438.5 MB / 1.248 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches