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.007822/0.007822, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001616/0.001616, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.477/1.477, allocations: 222.9 MB / 240.4 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.271/2.271, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.12 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.028, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04672/1.075, allocations: 33.32 MB / 1.12 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03208/1.107, allocations: 14.83 MB / 1.135 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00692/1.114, allocations: 160.5 kB / 1.135 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01277/1.127, allocations: 3.659 MB / 1.139 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01479/1.141, allocations: 2.994 MB / 1.142 GB, free: 492 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0102/1.152, allocations: 2.318 MB / 1.144 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01756/1.169, allocations: 8.838 MB / 1.153 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02213/1.191, allocations: 9.571 MB / 1.162 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01301/1.204, allocations: 4.014 MB / 1.166 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01223/1.217, allocations: 4.039 MB / 1.17 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.005087/1.222, allocations: 0.7201 MB / 1.17 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009424/1.231, allocations: 1.72 MB / 1.172 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.008391/1.24, allocations: 2.825 MB / 1.175 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01367/1.254, allocations: 3.393 MB / 1.178 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02691/1.28, allocations: 11.22 MB / 1.189 GB, free: 6.371 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/1.281, allocations: 0 / 1.189 GB, free: 6.371 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.398e-06/1.281, allocations: 0 / 1.189 GB, free: 6.371 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005224/1.281, allocations: 3.938 kB / 1.189 GB, free: 6.367 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.02298/1.304, allocations: 6.14 MB / 1.195 GB, free: 144 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/1.304, allocations: 12.03 kB / 1.195 GB, free: 132 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009439/1.314, allocations: 1.167 MB / 1.196 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/1.324, allocations: 3.538 MB / 1.2 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004054/1.324, allocations: 374.4 kB / 1.2 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002681/1.327, allocations: 0.4893 MB / 1.201 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/1.35, allocations: 8.001 MB / 1.208 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002281/1.35, allocations: 23.81 kB / 1.208 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001794/1.352, allocations: 219.9 kB / 1.209 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001226/1.353, allocations: 437.6 kB / 1.209 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/1.368, allocations: 6.085 MB / 1.215 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04962/1.418, allocations: 34.96 MB / 1.249 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/1.421, allocations: 2.026 MB / 1.251 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/1.424, allocations: 1.873 MB / 1.253 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/1.424, allocations: 25.98 kB / 1.253 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/1.424, allocations: 56.56 kB / 1.253 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 4.238e-06/1.424, allocations: 0 / 1.253 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.1511/1.575, allocations: 38.96 MB / 1.291 GB, free: 10.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/1.575, allocations: 81.58 kB / 1.291 GB, free: 10.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/1.579, allocations: 2.278 MB / 1.293 GB, free: 7.867 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004035/1.579, allocations: 73.7 kB / 1.293 GB, free: 7.789 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001566/1.581, allocations: 2.341 MB / 1.296 GB, free: 5.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/1.582, allocations: 0.976 MB / 1.297 GB, free: 4.445 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/1.583, allocations: 0.5142 MB / 1.297 GB, free: 3.922 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.583, allocations: 301.1 kB / 1.297 GB, free: 3.625 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002956/1.586, allocations: 1.97 MB / 1.299 GB, free: 1.652 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003502/1.59, allocations: 2.603 MB / 1.302 GB, free: 14.8 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006784/1.597, allocations: 4.933 MB / 1.307 GB, free: 9.594 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-05/1.597, allocations: 8 kB / 1.307 GB, free: 9.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01581/1.612, allocations: 7.775 MB / 1.314 GB, free: 1.742 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/1.612, allocations: 12 kB / 1.314 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/1.613, allocations: 16.09 kB / 1.314 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009665/1.622, allocations: 3.213 MB / 1.317 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/1.624, allocations: 399.4 kB / 1.318 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.047/1.671, allocations: 33.91 MB / 1.351 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/1.675, allocations: 167.8 kB / 1.351 GB, free: 11.18 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005705/1.675, allocations: 112 kB / 1.351 GB, free: 11.07 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.003899/1.679, allocations: 1.789 MB / 1.353 GB, free: 9.266 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009672/1.68, allocations: 345.9 kB / 1.353 GB, free: 8.926 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/1.695, allocations: 7.368 MB / 1.361 GB, free: 1.477 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-05/1.695, allocations: 28 kB / 1.361 GB, free: 1.449 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001626/1.695, allocations: 28 kB / 1.361 GB, free: 1.422 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-05/1.695, allocations: 11.95 kB / 1.361 GB, free: 1.41 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03131/1.727, allocations: 12.93 MB / 1.373 GB, free: 4.309 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.211e-05/1.727, allocations: 8 kB / 1.373 GB, free: 4.301 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.728, allocations: 235.6 kB / 1.373 GB, free: 4.07 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009117/1.737, allocations: 2.841 MB / 1.376 GB, free: 1.211 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004507/1.738, allocations: 55.94 kB / 1.376 GB, free: 1.156 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04848/1.786, allocations: 32.69 MB / 1.408 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.786, allocations: 7.938 kB / 1.408 GB, free: 15.6 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/1.802, allocations: 6.908 MB / 1.415 GB, free: 8.473 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003726/1.806, allocations: 0.7917 MB / 1.416 GB, free: 7.66 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001442/1.807, allocations: 59.92 kB / 1.416 GB, free: 7.602 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004205/1.811, allocations: 167.8 kB / 1.416 GB, free: 7.438 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001778/1.813, allocations: 261.2 kB / 1.416 GB, free: 7.184 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004514/1.814, allocations: 72 kB / 1.416 GB, free: 7.113 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.004387/1.818, allocations: 1.525 MB / 1.418 GB, free: 5.586 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.81e-07/1.818, allocations: 0 / 1.418 GB, free: 5.586 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.007802/1.826, allocations: 1.371 MB / 1.419 GB, free: 4.215 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.0008979/1.827, allocations: 177.1 kB / 1.419 GB, free: 4.035 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01415/1.841, allocations: 6.958 MB / 1.426 GB, free: 12.98 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.841, allocations: 3.938 kB / 1.426 GB, free: 12.98 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.008881/1.85, allocations: 4.433 MB / 1.43 GB, free: 8.465 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006946/1.857, allocations: 1.109 MB / 1.431 GB, free: 7.391 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02459/1.881, allocations: 10.24 MB / 1.441 GB, free: 13.05 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00583/1.887, allocations: 3.647 MB / 1.445 GB, free: 9.375 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002175/1.89, allocations: 0.5556 MB / 1.446 GB, free: 8.816 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/1.89, allocations: 155.4 kB / 1.446 GB, free: 8.668 MB / 1.186 GB Notification: Performance of SimCode: time 1.293e-06/1.89, allocations: 0 / 1.446 GB, free: 8.668 MB / 1.186 GB Notification: Performance of Templates: time 0.1364/2.026, allocations: 76.13 MB / 1.52 GB, free: 13.55 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