Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002261/0.002261, allocations: 188.8 kB / 16.25 MB, free: 6.637 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 469.8 MB / 0.742 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 71.3 kB / 0.9081 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3401, allocations: 159.1 MB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04051/0.3807, allocations: 33.04 MB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02414/0.4048, allocations: 14.67 MB / 1.11 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003346/0.4083, allocations: 143.2 kB / 1.11 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.009572/0.4179, allocations: 3.405 MB / 1.114 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008296/0.4262, allocations: 2.671 MB / 1.116 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006041/0.4322, allocations: 2.135 MB / 1.118 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01208/0.4443, allocations: 8.831 MB / 1.127 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01709/0.4615, allocations: 11.37 MB / 1.138 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006535/0.468, allocations: 4.007 MB / 1.142 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006881/0.4749, allocations: 4.221 MB / 1.146 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002035/0.477, allocations: 0.7148 MB / 1.147 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004715/0.4817, allocations: 1.716 MB / 1.148 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004522/0.4863, allocations: 2.83 MB / 1.151 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006332/0.4926, allocations: 3.392 MB / 1.154 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01484/0.5075, allocations: 11.19 MB / 1.165 GB, free: 5.902 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5075, allocations: 0 / 1.165 GB, free: 5.902 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.245e-06/0.5076, allocations: 0 / 1.165 GB, free: 5.902 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003522/0.5079, allocations: 0 / 1.165 GB, free: 5.902 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01657/0.5245, allocations: 5.983 MB / 1.171 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.5246, allocations: 8.031 kB / 1.171 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007645/0.5322, allocations: 1.141 MB / 1.172 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007562/0.5398, allocations: 3.328 MB / 1.176 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/0.5402, allocations: 378.3 kB / 1.176 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001724/0.542, allocations: 500 kB / 1.176 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.5599, allocations: 8.009 MB / 1.184 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.56, allocations: 23.72 kB / 1.184 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007032/0.5607, allocations: 216 kB / 1.184 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001076/0.5618, allocations: 437.6 kB / 1.185 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01251/0.5744, allocations: 6.081 MB / 1.191 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04994/0.6243, allocations: 35.15 MB / 1.225 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/0.6277, allocations: 2.027 MB / 1.227 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002882/0.6306, allocations: 1.865 MB / 1.229 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.6308, allocations: 21.98 kB / 1.229 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.448e-05/0.6309, allocations: 68.45 kB / 1.229 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 3.296e-06/0.6309, allocations: 0 / 1.229 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.7077/1.339, allocations: 38.86 MB / 1.267 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/1.339, allocations: 80.42 kB / 1.267 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004482/1.343, allocations: 2.28 MB / 1.269 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003483/1.344, allocations: 72.48 kB / 1.269 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/1.345, allocations: 2.276 MB / 1.272 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009114/1.346, allocations: 0.94 MB / 1.272 GB, free: 164 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/1.347, allocations: 0.5024 MB / 1.273 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.846e-05/1.347, allocations: 305.1 kB / 1.273 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/1.35, allocations: 1.97 MB / 1.275 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/1.353, allocations: 2.602 MB / 1.278 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005997/1.359, allocations: 4.939 MB / 1.283 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.592e-05/1.359, allocations: 5.719 kB / 1.283 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01327/1.372, allocations: 7.757 MB / 1.29 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/1.372, allocations: 12.94 kB / 1.29 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/1.372, allocations: 15.88 kB / 1.29 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008364/1.381, allocations: 3.243 MB / 1.293 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/1.382, allocations: 399.8 kB / 1.294 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03588/1.418, allocations: 33.9 MB / 1.327 GB, free: 122.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/1.422, allocations: 159.8 kB / 1.327 GB, free: 122.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006037/1.422, allocations: 108 kB / 1.327 GB, free: 122.5 MB / 0.9981 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003784/1.426, allocations: 1.797 MB / 1.329 GB, free: 120.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/1.427, allocations: 332 kB / 1.329 GB, free: 120.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/1.44, allocations: 7.364 MB / 1.336 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/1.44, allocations: 24 kB / 1.336 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.228e-05/1.44, allocations: 32 kB / 1.336 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.202e-05/1.44, allocations: 13.08 kB / 1.336 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02212/1.462, allocations: 12.93 MB / 1.349 GB, free: 99.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/1.463, allocations: 4 kB / 1.349 GB, free: 99.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009104/1.463, allocations: 232.8 kB / 1.349 GB, free: 99.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007242/1.471, allocations: 2.873 MB / 1.352 GB, free: 96.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003585/1.471, allocations: 56 kB / 1.352 GB, free: 96.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0336/1.505, allocations: 32.7 MB / 1.384 GB, free: 63.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.505, allocations: 11.94 kB / 1.384 GB, free: 63.11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.516, allocations: 6.893 MB / 1.391 GB, free: 56 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/1.518, allocations: 0.7782 MB / 1.392 GB, free: 55.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/1.52, allocations: 55.98 kB / 1.392 GB, free: 55.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002427/1.522, allocations: 163.8 kB / 1.392 GB, free: 54.99 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009435/1.523, allocations: 261.4 kB / 1.392 GB, free: 54.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002668/1.523, allocations: 76 kB / 1.392 GB, free: 54.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002302/1.526, allocations: 1.525 MB / 1.394 GB, free: 53.13 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.9e-07/1.526, allocations: 0 / 1.394 GB, free: 53.13 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005009/1.531, allocations: 1.371 MB / 1.395 GB, free: 51.76 MB / 0.9981 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004975/1.531, allocations: 175 kB / 1.395 GB, free: 51.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01295/1.544, allocations: 8.377 MB / 1.403 GB, free: 43.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/1.544, allocations: 0 / 1.403 GB, free: 43.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006613/1.551, allocations: 4.421 MB / 1.408 GB, free: 38.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005519/1.556, allocations: 1.109 MB / 1.409 GB, free: 37.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/1.572, allocations: 12.48 MB / 1.421 GB, free: 25.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00304/1.575, allocations: 3.654 MB / 1.424 GB, free: 21.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001937/1.577, allocations: 0.562 MB / 1.425 GB, free: 20.83 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/1.577, allocations: 155.4 kB / 1.425 GB, free: 20.68 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.577, allocations: 0 / 1.425 GB, free: 20.68 MB / 0.9981 GB Notification: Performance of Templates: time 0.1322/1.709, allocations: 78.06 MB / 1.501 GB, free: 7.668 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches