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 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.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.001506/0.001506, allocations: 106.9 kB / 16.39 MB, free: 6.453 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.001678/0.001677, allocations: 189.5 kB / 17.32 MB, free: 5.754 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.601/1.601, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.676/2.676, allocations: 442.7 MB / 0.7167 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.89 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 153 MB / 1.177 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008326/1.038, allocations: 6.815 MB / 1.183 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005389/1.043, allocations: 3.055 MB / 1.186 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006545/1.044, allocations: 31.81 kB / 1.186 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002472/1.047, allocations: 0.9552 MB / 1.187 GB, free: 15.83 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001624/1.048, allocations: 0.4973 MB / 1.188 GB, free: 15.33 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/1.05, allocations: 454.2 kB / 1.188 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001956/1.052, allocations: 1.228 MB / 1.189 GB, free: 13.66 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/1.053, allocations: 0.6582 MB / 1.19 GB, free: 13 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009576/1.054, allocations: 474.3 kB / 1.191 GB, free: 12.53 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000726/1.055, allocations: 0.5253 MB / 1.191 GB, free: 12 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.367e-05/1.055, allocations: 68 kB / 1.191 GB, free: 11.94 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007685/1.055, allocations: 375.2 kB / 1.192 GB, free: 11.57 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003235/1.056, allocations: 307.2 kB / 1.192 GB, free: 11.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004678/1.056, allocations: 453.7 kB / 1.192 GB, free: 10.82 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/1.058, allocations: 1.217 MB / 1.193 GB, free: 9.605 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.058, allocations: 0 / 1.193 GB, free: 9.605 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/1.058, allocations: 0 / 1.193 GB, free: 9.605 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.941e-05/1.058, allocations: 4 kB / 1.193 GB, free: 9.602 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001893/1.06, allocations: 1.168 MB / 1.195 GB, free: 8.379 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/1.06, allocations: 12.03 kB / 1.195 GB, free: 8.367 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/1.061, allocations: 235.5 kB / 1.195 GB, free: 8.137 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008934/1.062, allocations: 0.6115 MB / 1.195 GB, free: 7.484 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/1.062, allocations: 45.67 kB / 1.195 GB, free: 7.441 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.062, allocations: 68.36 kB / 1.196 GB, free: 7.375 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/1.064, allocations: 1.085 MB / 1.197 GB, free: 6.184 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/1.064, allocations: 7.984 kB / 1.197 GB, free: 6.176 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/1.064, allocations: 31.98 kB / 1.197 GB, free: 6.145 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/1.064, allocations: 85.2 kB / 1.197 GB, free: 6.059 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/1.065, allocations: 0.7543 MB / 1.197 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/1.07, allocations: 5.878 MB / 1.203 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000969/1.071, allocations: 0.5614 MB / 1.204 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/1.072, allocations: 322 kB / 1.204 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/1.072, allocations: 4.438 kB / 1.204 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/1.072, allocations: 39 kB / 1.204 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=47): time 3.176e-06/1.072, allocations: 0 / 1.204 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.003844/1.076, allocations: 1.99 MB / 1.206 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/1.076, allocations: 59.84 kB / 1.206 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006732/1.076, allocations: 0.5587 MB / 1.207 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/1.076, allocations: 33.7 kB / 1.207 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/1.077, allocations: 422.9 kB / 1.207 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/1.077, allocations: 165.6 kB / 1.207 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/1.077, allocations: 134.5 kB / 1.207 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001981/1.077, allocations: 374.7 kB / 1.208 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/1.078, allocations: 277.8 kB / 1.208 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/1.078, allocations: 493 kB / 1.208 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/1.079, allocations: 0.8093 MB / 1.209 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.079, allocations: 4 kB / 1.209 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001839/1.081, allocations: 1.09 MB / 1.21 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/1.081, allocations: 8.875 kB / 1.21 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.081, allocations: 4 kB / 1.21 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008716/1.082, allocations: 283.2 kB / 1.211 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/1.083, allocations: 127.7 kB / 1.211 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007599/1.09, allocations: 7.126 MB / 1.218 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007939/1.091, allocations: 43.95 kB / 1.218 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.091, allocations: 32.06 kB / 1.218 GB, free: 15.14 MB / 0.9512 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.0007756/1.092, allocations: 245.6 kB / 1.218 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/1.092, allocations: 79.03 kB / 1.218 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/1.094, allocations: 0.8925 MB / 1.219 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.094, allocations: 3.938 kB / 1.219 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.094, allocations: 0 / 1.219 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/1.095, allocations: 192.2 kB / 1.219 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/1.095, allocations: 8 kB / 1.219 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/1.095, allocations: 27.97 kB / 1.219 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.095, allocations: 48.3 kB / 1.219 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002179/1.098, allocations: 0.9475 MB / 1.22 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001489/1.099, allocations: 1.044 MB / 1.221 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004157/1.099, allocations: 267.3 kB / 1.221 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005802/1.1, allocations: 387.1 kB / 1.222 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of Backend: time 7.42e-07/1.1, allocations: 0 / 1.222 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002958/1.103, allocations: 1.31 MB / 1.223 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of SimCode: time 0.003311/1.106, allocations: 1.961 MB / 1.225 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of Templates: time 0.02795/1.134, allocations: 13.06 MB / 1.238 GB, free: 10.63 MB / 0.9669 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