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.009867/0.009866, allocations: 102 kB / 15.73 MB, free: 6.062 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.00226/0.00226, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.364/2.364, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.89 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04659/1.051, allocations: 33.32 MB / 1.12 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02879/1.08, allocations: 14.83 MB / 1.135 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00627/1.086, allocations: 156.6 kB / 1.135 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01205/1.099, allocations: 3.66 MB / 1.139 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01502/1.114, allocations: 2.992 MB / 1.142 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009828/1.123, allocations: 2.325 MB / 1.144 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01709/1.141, allocations: 8.835 MB / 1.152 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02169/1.162, allocations: 9.571 MB / 1.162 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01399/1.176, allocations: 4.018 MB / 1.166 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01324/1.19, allocations: 4.041 MB / 1.17 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.004677/1.194, allocations: 0.7162 MB / 1.17 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009155/1.204, allocations: 1.72 MB / 1.172 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.007589/1.211, allocations: 2.825 MB / 1.175 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01359/1.225, allocations: 3.394 MB / 1.178 GB, free: 14.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02263/1.247, allocations: 11.19 MB / 1.189 GB, free: 6.391 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/1.248, allocations: 0 / 1.189 GB, free: 6.391 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.873e-06/1.248, allocations: 0 / 1.189 GB, free: 6.391 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005284/1.248, allocations: 0 / 1.189 GB, free: 6.391 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.02578/1.274, allocations: 5.979 MB / 1.195 GB, free: 340 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.274, allocations: 12.03 kB / 1.195 GB, free: 328 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009196/1.283, allocations: 1.142 MB / 1.196 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/1.293, allocations: 3.524 MB / 1.2 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004223/1.294, allocations: 370.4 kB / 1.2 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002512/1.296, allocations: 500 kB / 1.2 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02918/1.326, allocations: 8.005 MB / 1.208 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004531/1.326, allocations: 19.78 kB / 1.208 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002746/1.329, allocations: 220 kB / 1.208 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001277/1.33, allocations: 433.6 kB / 1.209 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/1.348, allocations: 6.081 MB / 1.215 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05538/1.404, allocations: 34.89 MB / 1.249 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003958/1.408, allocations: 2.036 MB / 1.251 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002788/1.41, allocations: 1.873 MB / 1.253 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/1.411, allocations: 18 kB / 1.253 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.824e-05/1.411, allocations: 68.22 kB / 1.253 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 4.679e-06/1.411, allocations: 0 / 1.253 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.1769/1.588, allocations: 38.89 MB / 1.291 GB, free: 10.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/1.588, allocations: 77.58 kB / 1.291 GB, free: 10.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003573/1.591, allocations: 2.282 MB / 1.293 GB, free: 8.215 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003148/1.592, allocations: 73.7 kB / 1.293 GB, free: 8.137 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001677/1.593, allocations: 2.276 MB / 1.295 GB, free: 5.832 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001078/1.594, allocations: 0.9318 MB / 1.296 GB, free: 4.887 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009698/1.595, allocations: 0.5062 MB / 1.297 GB, free: 4.371 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.596, allocations: 305.1 kB / 1.297 GB, free: 4.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002817/1.598, allocations: 1.973 MB / 1.299 GB, free: 2.094 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003321/1.602, allocations: 2.606 MB / 1.301 GB, free: 15.24 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006973/1.609, allocations: 4.933 MB / 1.306 GB, free: 10.04 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/1.609, allocations: 4 kB / 1.306 GB, free: 10.03 MB / 1.045 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01524/1.624, allocations: 7.757 MB / 1.314 GB, free: 2.203 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/1.624, allocations: 12 kB / 1.314 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/1.624, allocations: 16.88 kB / 1.314 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009668/1.634, allocations: 3.209 MB / 1.317 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/1.636, allocations: 399.4 kB / 1.317 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04667/1.682, allocations: 33.88 MB / 1.35 GB, free: 11.83 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/1.685, allocations: 159.8 kB / 1.351 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/1.685, allocations: 112 kB / 1.351 GB, free: 11.57 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.002997/1.688, allocations: 1.793 MB / 1.352 GB, free: 9.762 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006409/1.689, allocations: 332.1 kB / 1.353 GB, free: 9.434 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/1.703, allocations: 7.365 MB / 1.36 GB, free: 1.988 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.794e-05/1.703, allocations: 28 kB / 1.36 GB, free: 1.961 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-05/1.703, allocations: 31.94 kB / 1.36 GB, free: 1.93 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.391e-05/1.703, allocations: 15.94 kB / 1.36 GB, free: 1.914 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/1.727, allocations: 12.92 MB / 1.373 GB, free: 4.82 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/1.727, allocations: 11.94 kB / 1.373 GB, free: 4.809 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009225/1.728, allocations: 235.6 kB / 1.373 GB, free: 4.578 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008376/1.737, allocations: 2.848 MB / 1.376 GB, free: 1.711 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002563/1.737, allocations: 52 kB / 1.376 GB, free: 1.66 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04171/1.779, allocations: 32.67 MB / 1.408 GB, free: 140 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.779, allocations: 8.688 kB / 1.408 GB, free: 132 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/1.791, allocations: 6.887 MB / 1.414 GB, free: 9.023 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002413/1.793, allocations: 0.7821 MB / 1.415 GB, free: 8.219 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005653/1.794, allocations: 48 kB / 1.415 GB, free: 8.172 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/1.795, allocations: 171.8 kB / 1.415 GB, free: 8.004 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009468/1.796, allocations: 257.2 kB / 1.416 GB, free: 7.754 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.796, allocations: 79.98 kB / 1.416 GB, free: 7.676 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002437/1.799, allocations: 1.521 MB / 1.417 GB, free: 6.152 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.71e-07/1.799, allocations: 3.938 kB / 1.417 GB, free: 6.148 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005646/1.805, allocations: 1.371 MB / 1.419 GB, free: 4.777 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.0004795/1.805, allocations: 183 kB / 1.419 GB, free: 4.59 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01229/1.817, allocations: 6.919 MB / 1.425 GB, free: 13.57 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/1.817, allocations: 4 kB / 1.425 GB, free: 13.57 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.007825/1.825, allocations: 4.41 MB / 1.43 GB, free: 9.082 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004507/1.83, allocations: 1.106 MB / 1.431 GB, free: 8.008 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/1.847, allocations: 10.08 MB / 1.441 GB, free: 13.84 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004222/1.851, allocations: 3.643 MB / 1.444 GB, free: 10.16 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002037/1.853, allocations: 0.5556 MB / 1.445 GB, free: 9.602 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/1.854, allocations: 159.4 kB / 1.445 GB, free: 9.449 MB / 1.186 GB Notification: Performance of SimCode: time 3.457e-06/1.854, allocations: 0 / 1.445 GB, free: 9.449 MB / 1.186 GB Notification: Performance of Templates: time 0.1355/1.989, allocations: 76.12 MB / 1.519 GB, free: 14.33 MB / 1.264 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/jenkins/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