Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 117.9 kB / 16.42 MB, free: 6.496 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.001247/0.001247, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.59/2.59, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 59.91 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9776/0.9791, allocations: 151.6 MB / 1.167 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03808/1.017, allocations: 35.13 MB / 1.202 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01976/1.037, allocations: 9.937 MB / 1.211 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004661/1.042, allocations: 147.3 kB / 1.211 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01068/1.052, allocations: 3.818 MB / 1.215 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008065/1.061, allocations: 2.149 MB / 1.217 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006402/1.067, allocations: 1.953 MB / 1.219 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01223/1.079, allocations: 7.982 MB / 1.227 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01694/1.096, allocations: 9.545 MB / 1.236 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007925/1.104, allocations: 3.427 MB / 1.24 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008005/1.112, allocations: 3.731 MB / 1.243 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.003008/1.115, allocations: 0.6758 MB / 1.244 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005809/1.121, allocations: 1.447 MB / 1.245 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.005517/1.127, allocations: 2.627 MB / 1.248 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.008503/1.135, allocations: 3.093 MB / 1.251 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01641/1.152, allocations: 10.38 MB / 1.261 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/1.152, allocations: 3.984 kB / 1.261 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.344e-06/1.152, allocations: 0 / 1.261 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0004586/1.152, allocations: 0 / 1.261 GB, free: 3.527 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01897/1.171, allocations: 5.416 MB / 1.266 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.714e-05/1.171, allocations: 8.922 kB / 1.266 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00638/1.178, allocations: 0.9626 MB / 1.267 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00836/1.186, allocations: 3.17 MB / 1.27 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003689/1.186, allocations: 361.9 kB / 1.271 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001897/1.188, allocations: 468.3 kB / 1.271 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02069/1.209, allocations: 7.906 MB / 1.279 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002637/1.209, allocations: 23.81 kB / 1.279 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001759/1.211, allocations: 208 kB / 1.279 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006728/1.212, allocations: 365.1 kB / 1.28 GB, free: 172 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01396/1.226, allocations: 5.937 MB / 1.285 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05497/1.281, allocations: 35.95 MB / 1.32 GB, free: 3.027 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004024/1.285, allocations: 2.135 MB / 1.323 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/1.287, allocations: 1.488 MB / 1.324 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/1.287, allocations: 17.31 kB / 1.324 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.308e-05/1.287, allocations: 55.81 kB / 1.324 GB, free: 15.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=157): time 4.819e-06/1.287, allocations: 0 / 1.324 GB, free: 15.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=160): time 0.01592/1.303, allocations: 7.533 MB / 1.331 GB, free: 7.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/1.303, allocations: 72.66 kB / 1.331 GB, free: 7.418 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/1.307, allocations: 1.868 MB / 1.333 GB, free: 5.523 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/1.307, allocations: 53.7 kB / 1.333 GB, free: 5.465 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001664/1.309, allocations: 2.127 MB / 1.335 GB, free: 3.316 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006414/1.31, allocations: 0.5507 MB / 1.336 GB, free: 2.758 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007854/1.311, allocations: 411.6 kB / 1.336 GB, free: 2.348 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.311, allocations: 301.1 kB / 1.337 GB, free: 2.051 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/1.313, allocations: 1.066 MB / 1.338 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002319/1.315, allocations: 1.76 MB / 1.339 GB, free: 14.9 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/1.319, allocations: 3.049 MB / 1.342 GB, free: 11.54 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/1.319, allocations: 8 kB / 1.342 GB, free: 11.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007655/1.327, allocations: 3.928 MB / 1.346 GB, free: 7.555 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/1.327, allocations: 16 kB / 1.346 GB, free: 7.539 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.914e-05/1.327, allocations: 20 kB / 1.346 GB, free: 7.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/1.329, allocations: 0.9278 MB / 1.347 GB, free: 6.555 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/1.331, allocations: 427.2 kB / 1.348 GB, free: 6.137 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/1.354, allocations: 22.76 MB / 1.37 GB, free: 13.69 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/1.356, allocations: 123.9 kB / 1.37 GB, free: 13.57 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004455/1.357, allocations: 95.98 kB / 1.37 GB, free: 13.48 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003486/1.36, allocations: 1.653 MB / 1.372 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008744/1.361, allocations: 261 kB / 1.372 GB, free: 11.56 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006411/1.367, allocations: 3.252 MB / 1.375 GB, free: 8.258 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.079e-05/1.368, allocations: 7.969 kB / 1.375 GB, free: 8.25 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.368, allocations: 0 / 1.375 GB, free: 8.25 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/1.369, allocations: 0.5253 MB / 1.376 GB, free: 7.703 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006946/1.37, allocations: 28 kB / 1.376 GB, free: 7.676 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.371, allocations: 95.81 kB / 1.376 GB, free: 7.582 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/1.372, allocations: 145 kB / 1.376 GB, free: 7.441 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007116/1.379, allocations: 3.391 MB / 1.379 GB, free: 4.004 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005337/1.384, allocations: 3.674 MB / 1.383 GB, free: 320 kB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00143/1.386, allocations: 1.084 MB / 1.384 GB, free: 15.23 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002518/1.388, allocations: 1.225 MB / 1.385 GB, free: 13.99 MB / 1.123 GB Notification: Performance of Backend: time 8.02e-07/1.388, allocations: 0 / 1.385 GB, free: 13.99 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009327/1.398, allocations: 4.004 MB / 1.389 GB, free: 9.82 MB / 1.123 GB Notification: Performance of SimCode: time 0.02109/1.419, allocations: 8.505 MB / 1.397 GB, free: 1.277 MB / 1.123 GB Notification: Performance of Templates: time 0.09384/1.513, allocations: 48.93 MB / 1.445 GB, free: 0.8672 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches