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.001471/0.001471, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 192.5 kB / 16.53 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.583/1.583, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.979/2.979, allocations: 437 MB / 0.7104 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 60.09 kB / 0.8692 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6992/0.7012, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04367/0.7449, allocations: 32.6 MB / 1.049 GB, free: 1.824 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0203/0.7653, allocations: 10.27 MB / 1.059 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004386/0.7697, allocations: 151.2 kB / 1.059 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01158/0.7814, allocations: 3.723 MB / 1.063 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.008392/0.7898, allocations: 1.85 MB / 1.065 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.007952/0.7978, allocations: 2.126 MB / 1.067 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01208/0.8099, allocations: 7.33 MB / 1.074 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01568/0.8256, allocations: 9.492 MB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007334/0.833, allocations: 3.163 MB / 1.086 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008427/0.8415, allocations: 3.477 MB / 1.09 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003201/0.8447, allocations: 0.6484 MB / 1.09 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006319/0.8511, allocations: 1.771 MB / 1.092 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005261/0.8564, allocations: 2.542 MB / 1.095 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0072/0.8636, allocations: 2.898 MB / 1.097 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01748/0.8811, allocations: 10.05 MB / 1.107 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.8812, allocations: 0 / 1.107 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8812, allocations: 0 / 1.107 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003888/0.8816, allocations: 4 kB / 1.107 GB, free: 6.082 MB / 0.8575 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.01652/0.8981, allocations: 4.994 MB / 1.112 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.8982, allocations: 8.031 kB / 1.112 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006259/0.9045, allocations: 0.9551 MB / 1.113 GB, free: 48 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007844/0.9124, allocations: 2.855 MB / 1.116 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/0.9128, allocations: 345.7 kB / 1.116 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002211/0.915, allocations: 472.1 kB / 1.117 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01933/0.9343, allocations: 7.663 MB / 1.124 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002164/0.9346, allocations: 31.72 kB / 1.124 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008562/0.9355, allocations: 196 kB / 1.124 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000421/0.9359, allocations: 312.9 kB / 1.125 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.951, allocations: 5.71 MB / 1.13 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05104/1.002, allocations: 35.1 MB / 1.164 GB, free: 7.762 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003529/1.006, allocations: 2.152 MB / 1.167 GB, free: 5.484 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/1.008, allocations: 1.269 MB / 1.168 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.59e-05/1.008, allocations: 21.25 kB / 1.168 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/1.008, allocations: 43.88 kB / 1.168 GB, free: 4.145 MB / 0.92 GB Notification: Performance of pre-optimization done (n=133): time 3.517e-06/1.008, allocations: 0 / 1.168 GB, free: 4.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=136): time 0.01651/1.024, allocations: 7.092 MB / 1.175 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/1.024, allocations: 64.72 kB / 1.175 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00262/1.027, allocations: 1.484 MB / 1.176 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002305/1.027, allocations: 45.7 kB / 1.176 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001575/1.029, allocations: 2.008 MB / 1.178 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007122/1.03, allocations: 485.2 kB / 1.179 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005457/1.03, allocations: 351 kB / 1.179 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.03, allocations: 301.1 kB / 1.179 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/1.032, allocations: 0.9135 MB / 1.18 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00213/1.034, allocations: 1.597 MB / 1.182 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003882/1.038, allocations: 2.729 MB / 1.185 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-05/1.038, allocations: 12 kB / 1.185 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006899/1.045, allocations: 3.53 MB / 1.188 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/1.045, allocations: 16 kB / 1.188 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/1.045, allocations: 20 kB / 1.188 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002759/1.048, allocations: 0.9122 MB / 1.189 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.049, allocations: 351.3 kB / 1.189 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02527/1.074, allocations: 23.12 MB / 1.212 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/1.076, allocations: 95.92 kB / 1.212 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/1.077, allocations: 95.97 kB / 1.212 GB, free: 4.195 MB / 0.9669 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.003184/1.08, allocations: 1.607 MB / 1.214 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005354/1.08, allocations: 213.5 kB / 1.214 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005672/1.086, allocations: 2.986 MB / 1.217 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.086, allocations: 15.94 kB / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/1.086, allocations: 8 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/1.086, allocations: 8.25 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/1.1, allocations: 7.352 MB / 1.224 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/1.1, allocations: 7.984 kB / 1.224 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008408/1.101, allocations: 175.7 kB / 1.224 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/1.103, allocations: 0.8259 MB / 1.225 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/1.103, allocations: 28 kB / 1.225 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5666/1.67, allocations: 21.95 MB / 1.246 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.67, allocations: 6.875 kB / 1.246 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006136/1.676, allocations: 3.026 MB / 1.249 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.677, allocations: 456.6 kB / 1.25 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/1.678, allocations: 33.36 kB / 1.25 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008166/1.678, allocations: 69.59 kB / 1.25 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004237/1.679, allocations: 125.7 kB / 1.25 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.39e-05/1.679, allocations: 39.67 kB / 1.25 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001694/1.681, allocations: 0.9784 MB / 1.251 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.422e-06/1.681, allocations: 0 / 1.251 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003265/1.684, allocations: 0.7926 MB / 1.252 GB, free: 205.3 MB / 0.9981 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.0002388/1.684, allocations: 136.8 kB / 1.252 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007615/1.692, allocations: 4.652 MB / 1.256 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.692, allocations: 1 kB / 1.256 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00388/1.696, allocations: 2.734 MB / 1.259 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/1.699, allocations: 0.7314 MB / 1.26 GB, free: 201.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/1.712, allocations: 7.202 MB / 1.267 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003757/1.716, allocations: 3.112 MB / 1.27 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001697/1.717, allocations: 449.7 kB / 1.27 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/1.718, allocations: 118.5 kB / 1.27 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.362e-06/1.718, allocations: 0 / 1.27 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.07178/1.79, allocations: 35.72 MB / 1.305 GB, free: 175.7 MB / 0.9981 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/jenkins/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