Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001875/0.001874, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.002084/0.002084, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.385/2.385, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8141/0.8155, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04177/0.8573, allocations: 33.32 MB / 1.121 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02779/0.8851, allocations: 14.83 MB / 1.136 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006867/0.892, allocations: 157 kB / 1.136 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01142/0.9035, allocations: 3.655 MB / 1.139 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.9152, allocations: 2.889 MB / 1.142 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008195/0.9234, allocations: 2.323 MB / 1.144 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01658/0.94, allocations: 8.821 MB / 1.153 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02041/0.9605, allocations: 9.573 MB / 1.162 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01164/0.9722, allocations: 4.015 MB / 1.166 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.9838, allocations: 4.043 MB / 1.17 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003411/0.9872, allocations: 0.7152 MB / 1.171 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007368/0.9946, allocations: 1.721 MB / 1.173 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006734/1.001, allocations: 2.821 MB / 1.175 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01263/1.014, allocations: 3.394 MB / 1.179 GB, free: 14.6 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02226/1.036, allocations: 11.19 MB / 1.19 GB, free: 6.473 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.036, allocations: 7.938 kB / 1.19 GB, free: 6.465 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.914e-06/1.036, allocations: 0 / 1.19 GB, free: 6.465 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005091/1.037, allocations: 0 / 1.19 GB, free: 6.465 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.02276/1.06, allocations: 5.979 MB / 1.196 GB, free: 416 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.06, allocations: 8.031 kB / 1.196 GB, free: 408 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0094/1.069, allocations: 1.145 MB / 1.197 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/1.08, allocations: 3.512 MB / 1.2 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003653/1.08, allocations: 374.4 kB / 1.2 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002654/1.083, allocations: 0.4922 MB / 1.201 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01999/1.103, allocations: 7.997 MB / 1.209 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001766/1.103, allocations: 23.78 kB / 1.209 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/1.104, allocations: 216 kB / 1.209 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001117/1.105, allocations: 441.5 kB / 1.209 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01474/1.12, allocations: 6.088 MB / 1.215 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04821/1.168, allocations: 34.89 MB / 1.249 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003305/1.171, allocations: 2.024 MB / 1.251 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00282/1.174, allocations: 1.869 MB / 1.253 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/1.175, allocations: 18 kB / 1.253 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.399e-05/1.175, allocations: 72.44 kB / 1.253 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 4.028e-06/1.175, allocations: 0 / 1.253 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.1489/1.324, allocations: 38.89 MB / 1.291 GB, free: 10.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/1.324, allocations: 77.58 kB / 1.291 GB, free: 10.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/1.328, allocations: 2.282 MB / 1.294 GB, free: 8.301 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0005159/1.328, allocations: 73.7 kB / 1.294 GB, free: 8.223 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/1.33, allocations: 2.272 MB / 1.296 GB, free: 5.922 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.331, allocations: 0.9356 MB / 1.297 GB, free: 4.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/1.333, allocations: 0.5062 MB / 1.297 GB, free: 4.457 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.333, allocations: 309.1 kB / 1.298 GB, free: 4.152 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002899/1.336, allocations: 1.97 MB / 1.299 GB, free: 2.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/1.339, allocations: 2.606 MB / 1.302 GB, free: 15.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00695/1.346, allocations: 4.929 MB / 1.307 GB, free: 10.12 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.392e-05/1.346, allocations: 8 kB / 1.307 GB, free: 10.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01562/1.362, allocations: 7.761 MB / 1.314 GB, free: 2.285 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/1.362, allocations: 16 kB / 1.314 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/1.362, allocations: 16 kB / 1.314 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009797/1.372, allocations: 3.211 MB / 1.318 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/1.374, allocations: 395.4 kB / 1.318 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04544/1.419, allocations: 33.87 MB / 1.351 GB, free: 11.91 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/1.422, allocations: 163.8 kB / 1.351 GB, free: 11.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004791/1.423, allocations: 112 kB / 1.351 GB, free: 11.64 MB / 1.092 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.003492/1.426, allocations: 1.793 MB / 1.353 GB, free: 9.84 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008741/1.427, allocations: 332.1 kB / 1.353 GB, free: 9.512 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/1.443, allocations: 7.361 MB / 1.361 GB, free: 2.07 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.242e-05/1.443, allocations: 27.98 kB / 1.361 GB, free: 2.043 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001394/1.443, allocations: 32 kB / 1.361 GB, free: 2.012 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.173e-05/1.443, allocations: 15.95 kB / 1.361 GB, free: 1.996 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02814/1.472, allocations: 12.93 MB / 1.373 GB, free: 4.898 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.443e-05/1.472, allocations: 11.94 kB / 1.373 GB, free: 4.887 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.473, allocations: 227.6 kB / 1.373 GB, free: 4.664 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008836/1.482, allocations: 2.851 MB / 1.376 GB, free: 1.797 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003955/1.482, allocations: 52.12 kB / 1.376 GB, free: 1.746 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04481/1.527, allocations: 32.65 MB / 1.408 GB, free: 240 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/1.527, allocations: 11.94 kB / 1.408 GB, free: 228 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/1.541, allocations: 6.886 MB / 1.415 GB, free: 9.117 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002555/1.543, allocations: 0.7782 MB / 1.416 GB, free: 8.316 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001145/1.545, allocations: 59.98 kB / 1.416 GB, free: 8.258 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.547, allocations: 163.8 kB / 1.416 GB, free: 8.098 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/1.548, allocations: 257.2 kB / 1.416 GB, free: 7.848 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003193/1.549, allocations: 76 kB / 1.416 GB, free: 7.773 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003011/1.552, allocations: 1.53 MB / 1.418 GB, free: 6.242 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.41e-07/1.552, allocations: 0 / 1.418 GB, free: 6.242 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005802/1.557, allocations: 1.371 MB / 1.419 GB, free: 4.871 MB / 1.154 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.0005574/1.558, allocations: 171 kB / 1.419 GB, free: 4.695 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.571, allocations: 6.947 MB / 1.426 GB, free: 13.65 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/1.571, allocations: 0 / 1.426 GB, free: 13.65 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.008392/1.579, allocations: 4.417 MB / 1.43 GB, free: 9.156 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006437/1.585, allocations: 1.116 MB / 1.431 GB, free: 8.074 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/1.61, allocations: 10.76 MB / 1.442 GB, free: 13.22 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006846/1.617, allocations: 3.756 MB / 1.446 GB, free: 9.43 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009406/1.618, allocations: 175.4 kB / 1.446 GB, free: 9.262 MB / 1.186 GB Notification: Performance of SimCode: time 1.122e-06/1.618, allocations: 0 / 1.446 GB, free: 9.262 MB / 1.186 GB Notification: Performance of Templates: time 0.9726/2.59, allocations: 227.7 MB / 1.668 GB, free: 390.9 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches