Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001324/0.001324, allocations: 114.5 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.001377/0.001377, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.548/1.548, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.663/2.663, allocations: 472.7 MB / 0.746 GB, free: 464 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.89 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.004, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01019/1.014, allocations: 6.818 MB / 1.233 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005856/1.02, allocations: 3.063 MB / 1.236 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008455/1.021, allocations: 27.88 kB / 1.236 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002805/1.024, allocations: 0.9406 MB / 1.237 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001839/1.026, allocations: 0.5284 MB / 1.237 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/1.027, allocations: 439 kB / 1.238 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001631/1.029, allocations: 1.244 MB / 1.239 GB, free: 424 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/1.03, allocations: 0.6656 MB / 1.24 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000666/1.03, allocations: 478.3 kB / 1.24 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000712/1.031, allocations: 0.5253 MB / 1.241 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/1.031, allocations: 68 kB / 1.241 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008358/1.032, allocations: 383.2 kB / 1.241 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003063/1.032, allocations: 307.2 kB / 1.241 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004569/1.033, allocations: 453.7 kB / 1.242 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/1.034, allocations: 1.219 MB / 1.243 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.034, allocations: 0 / 1.243 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/1.034, allocations: 0 / 1.243 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.193e-05/1.034, allocations: 4 kB / 1.243 GB, free: 12.34 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002065/1.036, allocations: 1.195 MB / 1.244 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.036, allocations: 8.031 kB / 1.244 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/1.038, allocations: 240.1 kB / 1.244 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/1.039, allocations: 0.6159 MB / 1.245 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/1.039, allocations: 53.67 kB / 1.245 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/1.039, allocations: 64.36 kB / 1.245 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/1.041, allocations: 1.081 MB / 1.246 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/1.041, allocations: 7.938 kB / 1.246 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.079e-05/1.041, allocations: 36 kB / 1.246 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/1.041, allocations: 81.25 kB / 1.246 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/1.042, allocations: 0.7504 MB / 1.247 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005979/1.048, allocations: 5.883 MB / 1.253 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/1.049, allocations: 0.5571 MB / 1.253 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004887/1.05, allocations: 330 kB / 1.254 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.855e-05/1.05, allocations: 8.422 kB / 1.254 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/1.05, allocations: 43 kB / 1.254 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=47): time 3.005e-06/1.05, allocations: 3.938 kB / 1.254 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.0042/1.054, allocations: 1.991 MB / 1.256 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/1.054, allocations: 63.84 kB / 1.256 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009062/1.055, allocations: 0.5626 MB / 1.256 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/1.055, allocations: 33.7 kB / 1.256 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/1.056, allocations: 432 kB / 1.257 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/1.056, allocations: 178.5 kB / 1.257 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/1.056, allocations: 130.5 kB / 1.257 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002794/1.056, allocations: 374.7 kB / 1.257 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/1.057, allocations: 277.8 kB / 1.258 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007168/1.058, allocations: 493.5 kB / 1.258 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/1.059, allocations: 0.8171 MB / 1.259 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/1.059, allocations: 7.938 kB / 1.259 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002167/1.061, allocations: 1.087 MB / 1.26 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/1.061, allocations: 9.25 kB / 1.26 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.061, allocations: 4 kB / 1.26 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009376/1.062, allocations: 279.5 kB / 1.26 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/1.063, allocations: 123.8 kB / 1.26 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007769/1.07, allocations: 7.138 MB / 1.267 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007333/1.071, allocations: 43.95 kB / 1.267 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.998e-05/1.071, allocations: 32.05 kB / 1.267 GB, free: 1.797 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0004627/1.072, allocations: 253.6 kB / 1.268 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.072, allocations: 79.5 kB / 1.268 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/1.074, allocations: 0.8848 MB / 1.269 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/1.074, allocations: 7.922 kB / 1.269 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.074, allocations: 4 kB / 1.269 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/1.074, allocations: 188.6 kB / 1.269 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/1.074, allocations: 12 kB / 1.269 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/1.075, allocations: 27.97 kB / 1.269 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.075, allocations: 40.36 kB / 1.269 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002072/1.077, allocations: 0.9594 MB / 1.27 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001471/1.078, allocations: 1.049 MB / 1.271 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003947/1.079, allocations: 263.3 kB / 1.271 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004907/1.079, allocations: 387.1 kB / 1.271 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of Backend: time 1.082e-06/1.079, allocations: 4 kB / 1.271 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002764/1.082, allocations: 1.307 MB / 1.273 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of SimCode: time 0.00317/1.085, allocations: 1.98 MB / 1.275 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of Templates: time 0.02349/1.109, allocations: 13.21 MB / 1.288 GB, free: 13.11 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches