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.01179/0.01179, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.002169/0.002169, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.309/2.309, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 59.91 kB / 0.9509 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, 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.04684/1.119, allocations: 33.32 MB / 1.12 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03274/1.152, allocations: 14.82 MB / 1.135 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00645/1.159, allocations: 157.2 kB / 1.135 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01178/1.171, allocations: 3.653 MB / 1.139 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01335/1.184, allocations: 2.894 MB / 1.141 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009261/1.193, allocations: 2.323 MB / 1.144 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01698/1.21, allocations: 8.821 MB / 1.152 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02042/1.231, allocations: 9.57 MB / 1.162 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01024/1.241, allocations: 4.022 MB / 1.166 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009542/1.251, allocations: 4.043 MB / 1.17 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.004636/1.255, allocations: 0.716 MB / 1.17 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007744/1.263, allocations: 1.717 MB / 1.172 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006491/1.27, allocations: 2.821 MB / 1.175 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01069/1.28, allocations: 3.393 MB / 1.178 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02128/1.302, allocations: 11.2 MB / 1.189 GB, free: 6.531 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.302, allocations: 4 kB / 1.189 GB, free: 6.527 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/1.302, allocations: 0 / 1.189 GB, free: 6.527 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004485/1.302, allocations: 0 / 1.189 GB, free: 6.527 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.02312/1.325, allocations: 5.983 MB / 1.195 GB, free: 488 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/1.325, allocations: 8.031 kB / 1.195 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009054/1.334, allocations: 1.141 MB / 1.196 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009178/1.344, allocations: 3.516 MB / 1.199 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/1.344, allocations: 374.4 kB / 1.2 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002375/1.346, allocations: 500 kB / 1.2 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/1.367, allocations: 8.001 MB / 1.208 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002336/1.368, allocations: 27.77 kB / 1.208 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0016/1.369, allocations: 216 kB / 1.208 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001129/1.37, allocations: 441.5 kB / 1.209 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/1.387, allocations: 6.085 MB / 1.215 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05468/1.441, allocations: 34.89 MB / 1.249 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/1.445, allocations: 2.025 MB / 1.251 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002804/1.448, allocations: 1.873 MB / 1.252 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/1.448, allocations: 18 kB / 1.253 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.511e-05/1.448, allocations: 72.44 kB / 1.253 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 4.098e-06/1.448, allocations: 3.938 kB / 1.253 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.1523/1.6, allocations: 38.88 MB / 1.291 GB, free: 10.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.527e-05/1.6, allocations: 81.58 kB / 1.291 GB, free: 10.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004597/1.605, allocations: 2.278 MB / 1.293 GB, free: 8.371 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004214/1.605, allocations: 73.7 kB / 1.293 GB, free: 8.293 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001672/1.607, allocations: 2.272 MB / 1.295 GB, free: 5.992 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001291/1.608, allocations: 0.9357 MB / 1.296 GB, free: 5.043 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/1.61, allocations: 0.5023 MB / 1.297 GB, free: 4.531 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.61, allocations: 309 kB / 1.297 GB, free: 4.227 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/1.613, allocations: 1.973 MB / 1.299 GB, free: 2.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/1.616, allocations: 2.606 MB / 1.301 GB, free: 15.4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006465/1.623, allocations: 4.925 MB / 1.306 GB, free: 10.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-05/1.623, allocations: 8 kB / 1.306 GB, free: 10.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01439/1.637, allocations: 7.757 MB / 1.314 GB, free: 2.363 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/1.637, allocations: 12 kB / 1.314 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/1.637, allocations: 16 kB / 1.314 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009143/1.646, allocations: 3.219 MB / 1.317 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1.648, allocations: 395.3 kB / 1.317 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04971/1.698, allocations: 33.88 MB / 1.35 GB, free: 11.98 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/1.701, allocations: 167.8 kB / 1.351 GB, free: 11.82 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005073/1.702, allocations: 108 kB / 1.351 GB, free: 11.71 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.003902/1.706, allocations: 1.801 MB / 1.352 GB, free: 9.902 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/1.707, allocations: 336 kB / 1.353 GB, free: 9.57 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/1.722, allocations: 7.353 MB / 1.36 GB, free: 2.137 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/1.722, allocations: 28 kB / 1.36 GB, free: 2.109 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-05/1.722, allocations: 32 kB / 1.36 GB, free: 2.078 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.38e-05/1.722, allocations: 11.95 kB / 1.36 GB, free: 2.066 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03084/1.753, allocations: 12.92 MB / 1.373 GB, free: 4.969 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.821e-05/1.753, allocations: 15.92 kB / 1.373 GB, free: 4.953 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/1.754, allocations: 235.7 kB / 1.373 GB, free: 4.723 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008776/1.763, allocations: 2.844 MB / 1.376 GB, free: 1.859 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004436/1.763, allocations: 60 kB / 1.376 GB, free: 1.801 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04661/1.81, allocations: 32.65 MB / 1.408 GB, free: 300 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.81, allocations: 12 kB / 1.408 GB, free: 288 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/1.824, allocations: 6.875 MB / 1.414 GB, free: 9.188 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00273/1.827, allocations: 0.7821 MB / 1.415 GB, free: 8.383 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001312/1.828, allocations: 56.36 kB / 1.415 GB, free: 8.328 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002632/1.831, allocations: 167.8 kB / 1.415 GB, free: 8.164 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/1.832, allocations: 257.2 kB / 1.415 GB, free: 7.914 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003207/1.833, allocations: 80 kB / 1.416 GB, free: 7.836 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00333/1.836, allocations: 1.525 MB / 1.417 GB, free: 6.309 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.6e-07/1.836, allocations: 4 kB / 1.417 GB, free: 6.305 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.006349/1.842, allocations: 1.367 MB / 1.418 GB, free: 4.938 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.0005792/1.843, allocations: 179 kB / 1.419 GB, free: 4.754 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.856, allocations: 6.935 MB / 1.425 GB, free: 13.72 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/1.856, allocations: 4 kB / 1.425 GB, free: 13.72 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.008958/1.865, allocations: 4.413 MB / 1.43 GB, free: 9.23 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007278/1.873, allocations: 1.117 MB / 1.431 GB, free: 8.148 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02449/1.897, allocations: 10.08 MB / 1.441 GB, free: 13.98 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007025/1.904, allocations: 3.643 MB / 1.444 GB, free: 10.31 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002453/1.907, allocations: 0.5556 MB / 1.445 GB, free: 9.75 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006065/1.907, allocations: 159.4 kB / 1.445 GB, free: 9.598 MB / 1.186 GB Notification: Performance of SimCode: time 8.52e-07/1.907, allocations: 0 / 1.445 GB, free: 9.598 MB / 1.186 GB Notification: Performance of Templates: time 0.131/2.038, allocations: 77.65 MB / 1.521 GB, free: 12.95 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