Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001236/0.001236, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001239/0.001239, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 65.7 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2876, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03917/0.3268, allocations: 35.13 MB / 0.9854 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01741/0.3442, allocations: 9.94 MB / 0.9951 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005508/0.3498, allocations: 147.3 kB / 0.9953 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.3604, allocations: 3.806 MB / 0.999 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009166/0.3696, allocations: 2.036 MB / 1.001 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006524/0.3762, allocations: 1.968 MB / 1.003 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01127/0.3875, allocations: 7.963 MB / 1.011 GB, free: 10.89 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01186/0.3994, allocations: 9.53 MB / 1.02 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006173/0.4056, allocations: 3.377 MB / 1.023 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006735/0.4124, allocations: 3.727 MB / 1.027 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001996/0.4144, allocations: 0.6835 MB / 1.028 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004213/0.4186, allocations: 1.447 MB / 1.029 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003702/0.4224, allocations: 2.616 MB / 1.032 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.005296/0.4277, allocations: 3.101 MB / 1.035 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.4404, allocations: 10.38 MB / 1.045 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.4405, allocations: 0 / 1.045 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.068e-06/0.4405, allocations: 0 / 1.045 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003181/0.4408, allocations: 0 / 1.045 GB, free: 7.832 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.013/0.4538, allocations: 5.401 MB / 1.05 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4539, allocations: 8.031 kB / 1.05 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004827/0.4587, allocations: 0.9704 MB / 1.051 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00729/0.4661, allocations: 3.178 MB / 1.054 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/0.4664, allocations: 353.9 kB / 1.054 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.4678, allocations: 468.3 kB / 1.055 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.4837, allocations: 7.918 MB / 1.063 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/0.484, allocations: 23.72 kB / 1.063 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009245/0.4849, allocations: 212 kB / 1.063 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005434/0.4854, allocations: 369.1 kB / 1.063 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01177/0.4972, allocations: 5.937 MB / 1.069 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5421/1.039, allocations: 35.93 MB / 1.104 GB, free: 99.19 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003682/1.043, allocations: 2.147 MB / 1.106 GB, free: 98.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002098/1.045, allocations: 1.481 MB / 1.108 GB, free: 97.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/1.045, allocations: 17.45 kB / 1.108 GB, free: 97.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/1.045, allocations: 54.66 kB / 1.108 GB, free: 97.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=157): time 3.406e-06/1.045, allocations: 0 / 1.108 GB, free: 97.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=160): time 0.01463/1.06, allocations: 7.535 MB / 1.115 GB, free: 93.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/1.06, allocations: 73.94 kB / 1.115 GB, free: 93.86 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003145/1.063, allocations: 1.861 MB / 1.117 GB, free: 93.13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002014/1.063, allocations: 52.86 kB / 1.117 GB, free: 93.08 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/1.065, allocations: 2.129 MB / 1.119 GB, free: 91.47 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005188/1.065, allocations: 0.5548 MB / 1.12 GB, free: 91.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006106/1.066, allocations: 411.9 kB / 1.12 GB, free: 90.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.071e-05/1.066, allocations: 301.9 kB / 1.12 GB, free: 90.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/1.068, allocations: 1.058 MB / 1.121 GB, free: 90.14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/1.07, allocations: 1.768 MB / 1.123 GB, free: 88.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/1.073, allocations: 3.045 MB / 1.126 GB, free: 86.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/1.073, allocations: 6.875 kB / 1.126 GB, free: 86.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007599/1.081, allocations: 3.918 MB / 1.13 GB, free: 85.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/1.081, allocations: 16.47 kB / 1.13 GB, free: 85.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.14e-05/1.081, allocations: 25.28 kB / 1.13 GB, free: 85.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002844/1.084, allocations: 0.9362 MB / 1.131 GB, free: 84.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/1.086, allocations: 432.6 kB / 1.131 GB, free: 84.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/1.103, allocations: 22.75 MB / 1.153 GB, free: 65.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/1.106, allocations: 129.9 kB / 1.154 GB, free: 65.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/1.106, allocations: 96.28 kB / 1.154 GB, free: 65.34 MB / 0.8575 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.003034/1.109, allocations: 1.645 MB / 1.155 GB, free: 64.47 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005601/1.11, allocations: 255.1 kB / 1.155 GB, free: 64.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005053/1.115, allocations: 3.281 MB / 1.159 GB, free: 62.38 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/1.115, allocations: 15.81 kB / 1.159 GB, free: 62.38 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/1.115, allocations: 7.781 kB / 1.159 GB, free: 62.38 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.115, allocations: 7.969 kB / 1.159 GB, free: 62.37 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/1.126, allocations: 7.545 MB / 1.166 GB, free: 57.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.126, allocations: 7.906 kB / 1.166 GB, free: 57.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008215/1.127, allocations: 214 kB / 1.166 GB, free: 57.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/1.129, allocations: 0.8924 MB / 1.167 GB, free: 57.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/1.129, allocations: 31.81 kB / 1.167 GB, free: 57.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/1.144, allocations: 22.72 MB / 1.189 GB, free: 36.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.144, allocations: 11.75 kB / 1.189 GB, free: 36.37 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005313/1.149, allocations: 3.376 MB / 1.193 GB, free: 34.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/1.151, allocations: 0.5334 MB / 1.193 GB, free: 33.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004894/1.151, allocations: 30.97 kB / 1.193 GB, free: 33.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.153, allocations: 102 kB / 1.193 GB, free: 33.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004402/1.153, allocations: 132.7 kB / 1.193 GB, free: 33.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.153, allocations: 49.5 kB / 1.194 GB, free: 33.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001437/1.155, allocations: 1.227 MB / 1.195 GB, free: 33.08 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/1.155, allocations: 0 / 1.195 GB, free: 33.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003334/1.158, allocations: 0.904 MB / 1.196 GB, free: 32.23 MB / 0.8575 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,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.0002833/1.158, allocations: 163 kB / 1.196 GB, free: 32.05 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00547/1.164, allocations: 4.426 MB / 1.2 GB, free: 27.49 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.164, allocations: 8.062 kB / 1.2 GB, free: 27.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003243/1.167, allocations: 2.994 MB / 1.203 GB, free: 24.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/1.17, allocations: 0.8226 MB / 1.204 GB, free: 23.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.182, allocations: 7.576 MB / 1.211 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002517/1.184, allocations: 3.207 MB / 1.214 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001477/1.186, allocations: 0.5293 MB / 1.215 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/1.186, allocations: 143.4 kB / 1.215 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of SimCode: time 9.01e-07/1.186, allocations: 0 / 1.215 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of Templates: time 0.07078/1.257, allocations: 40.99 MB / 1.255 GB, free: 3.68 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches