Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001535/0.001535, allocations: 108.7 kB / 16.37 MB, free: 6.465 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.001583/0.001584, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.423/1.423, 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 11.0.0-master/package.mo): time 2.609/2.609, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 63.06 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3521, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04774/0.4, allocations: 33.35 MB / 1.059 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02543/0.4254, allocations: 14.83 MB / 1.074 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00544/0.4309, allocations: 159.2 kB / 1.074 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.7254/1.156, allocations: 3.644 MB / 1.077 GB, free: 18.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01197/1.168, allocations: 2.887 MB / 1.08 GB, free: 18.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007379/1.176, allocations: 2.326 MB / 1.083 GB, free: 18.73 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01551/1.191, allocations: 8.811 MB / 1.091 GB, free: 18.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01605/1.208, allocations: 9.56 MB / 1.101 GB, free: 16.17 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009741/1.217, allocations: 3.96 MB / 1.104 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00857/1.226, allocations: 4.039 MB / 1.108 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002343/1.228, allocations: 0.7158 MB / 1.109 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005285/1.234, allocations: 1.715 MB / 1.111 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004108/1.238, allocations: 2.827 MB / 1.113 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006691/1.244, allocations: 3.392 MB / 1.117 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01403/1.258, allocations: 11.19 MB / 1.128 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/1.259, allocations: 0.875 kB / 1.128 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.474e-06/1.259, allocations: 0 / 1.128 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000395/1.259, allocations: 0 / 1.128 GB, free: 5.352 MB / 0.8419 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.01963/1.279, allocations: 5.989 MB / 1.134 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.279, allocations: 10.09 kB / 1.134 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007228/1.286, allocations: 1.137 MB / 1.135 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009388/1.295, allocations: 3.515 MB / 1.138 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/1.296, allocations: 376.4 kB / 1.138 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00204/1.298, allocations: 500 kB / 1.139 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02023/1.318, allocations: 8.005 MB / 1.147 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001892/1.318, allocations: 23.05 kB / 1.147 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009787/1.319, allocations: 215.7 kB / 1.147 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000992/1.32, allocations: 436.8 kB / 1.147 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/1.334, allocations: 6.086 MB / 1.153 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04968/1.384, allocations: 34.9 MB / 1.187 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/1.387, allocations: 2.018 MB / 1.189 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002553/1.39, allocations: 1.865 MB / 1.191 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/1.39, allocations: 25.98 kB / 1.191 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/1.39, allocations: 56.5 kB / 1.191 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=171): time 3.927e-06/1.39, allocations: 0 / 1.191 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=276): time 0.142/1.532, allocations: 38.88 MB / 1.229 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/1.532, allocations: 77.58 kB / 1.229 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003933/1.536, allocations: 2.282 MB / 1.232 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0005563/1.536, allocations: 77.7 kB / 1.232 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001698/1.538, allocations: 2.277 MB / 1.234 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001183/1.539, allocations: 0.9261 MB / 1.235 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009802/1.54, allocations: 0.5139 MB / 1.235 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.54, allocations: 301.1 kB / 1.236 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002907/1.543, allocations: 1.969 MB / 1.237 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003451/1.547, allocations: 2.601 MB / 1.24 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006748/1.554, allocations: 4.942 MB / 1.245 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/1.554, allocations: 7.938 kB / 1.245 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01491/1.568, allocations: 7.748 MB / 1.252 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/1.569, allocations: 12 kB / 1.252 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/1.569, allocations: 19.94 kB / 1.252 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009335/1.578, allocations: 3.219 MB / 1.256 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/1.58, allocations: 406.9 kB / 1.256 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04685/1.627, allocations: 33.88 MB / 1.289 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003652/1.63, allocations: 163.8 kB / 1.289 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000427/1.631, allocations: 112 kB / 1.289 GB, free: 5.562 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.004282/1.635, allocations: 1.801 MB / 1.291 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009599/1.636, allocations: 328.2 kB / 1.291 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/1.651, allocations: 7.357 MB / 1.299 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.006e-05/1.651, allocations: 28 kB / 1.299 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.897e-05/1.651, allocations: 28 kB / 1.299 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.605e-05/1.651, allocations: 11.95 kB / 1.299 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0273/1.678, allocations: 12.92 MB / 1.311 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/1.678, allocations: 8 kB / 1.311 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/1.68, allocations: 231.6 kB / 1.311 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008511/1.688, allocations: 2.853 MB / 1.314 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005396/1.689, allocations: 52 kB / 1.314 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04406/1.733, allocations: 32.66 MB / 1.346 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/1.733, allocations: 4.375 kB / 1.346 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/1.745, allocations: 6.895 MB / 1.353 GB, free: 3.098 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00274/1.748, allocations: 0.7783 MB / 1.354 GB, free: 2.297 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007808/1.749, allocations: 55.92 kB / 1.354 GB, free: 2.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/1.751, allocations: 175.8 kB / 1.354 GB, free: 2.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009775/1.752, allocations: 256.6 kB / 1.354 GB, free: 1.824 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/1.752, allocations: 76 kB / 1.354 GB, free: 1.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002348/1.755, allocations: 1.521 MB / 1.356 GB, free: 232 kB / 1.061 GB Notification: Performance of sort global known variables: time 5.11e-07/1.755, allocations: 0 / 1.356 GB, free: 232 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.005267/1.76, allocations: 1.371 MB / 1.357 GB, free: 14.85 MB / 1.076 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.0004559/1.76, allocations: 175 kB / 1.357 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.772, allocations: 6.938 MB / 1.364 GB, free: 7.637 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.772, allocations: 0 / 1.364 GB, free: 7.637 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.008149/1.78, allocations: 4.416 MB / 1.368 GB, free: 3.148 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005415/1.786, allocations: 1.119 MB / 1.369 GB, free: 2.074 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/1.805, allocations: 10.07 MB / 1.379 GB, free: 7.926 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005379/1.81, allocations: 3.651 MB / 1.383 GB, free: 4.242 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002282/1.813, allocations: 0.5595 MB / 1.383 GB, free: 3.68 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/1.813, allocations: 155.4 kB / 1.384 GB, free: 3.527 MB / 1.092 GB Notification: Performance of SimCode: time 7.81e-07/1.813, allocations: 0 / 1.384 GB, free: 3.527 MB / 1.092 GB Notification: Performance of Templates: time 0.1272/1.94, allocations: 75 MB / 1.457 GB, free: 9.672 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches