Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001778/0.001778, allocations: 116.3 kB / 16.42 MB, free: 6.02 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.001853/0.001853, allocations: 184.3 kB / 17.35 MB, free: 5.633 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.648/1.648, allocations: 222.9 MB / 241 MB, free: 15.16 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.461/2.461, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 64.09 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9865/0.988, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009723/0.9978, allocations: 6.806 MB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005736/1.004, allocations: 3.075 MB / 1.177 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008927/1.004, allocations: 27.81 kB / 1.177 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002708/1.007, allocations: 0.948 MB / 1.178 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/1.009, allocations: 0.5246 MB / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/1.01, allocations: 453.2 kB / 1.179 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001756/1.012, allocations: 1.232 MB / 1.18 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/1.013, allocations: 0.666 MB / 1.181 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000881/1.014, allocations: 482.2 kB / 1.181 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000906/1.015, allocations: 0.5175 MB / 1.182 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002022/1.015, allocations: 68 kB / 1.182 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009517/1.016, allocations: 375.3 kB / 1.182 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000416/1.017, allocations: 315.1 kB / 1.182 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007351/1.017, allocations: 449.7 kB / 1.183 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/1.019, allocations: 1.224 MB / 1.184 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.019, allocations: 0 / 1.184 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.312e-06/1.019, allocations: 0 / 1.184 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.371e-05/1.019, allocations: 4 kB / 1.184 GB, free: 2.672 MB / 0.9044 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.002561/1.022, allocations: 1.165 MB / 1.185 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/1.022, allocations: 8.922 kB / 1.185 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/1.024, allocations: 239.5 kB / 1.185 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/1.025, allocations: 0.5997 MB / 1.186 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/1.025, allocations: 53.67 kB / 1.186 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/1.025, allocations: 60.36 kB / 1.186 GB, free: 468 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/1.027, allocations: 1.097 MB / 1.187 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/1.027, allocations: 7.938 kB / 1.187 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/1.027, allocations: 27.98 kB / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/1.027, allocations: 85.25 kB / 1.187 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/1.028, allocations: 0.7504 MB / 1.188 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005784/1.034, allocations: 5.874 MB / 1.194 GB, free: 8.078 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009906/1.035, allocations: 0.5593 MB / 1.194 GB, free: 7.508 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/1.035, allocations: 326 kB / 1.195 GB, free: 7.188 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/1.036, allocations: 4.438 kB / 1.195 GB, free: 7.184 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/1.036, allocations: 39 kB / 1.195 GB, free: 7.137 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 3.386e-06/1.036, allocations: 3.938 kB / 1.195 GB, free: 7.133 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.003946/1.04, allocations: 1.99 MB / 1.197 GB, free: 5.047 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/1.04, allocations: 59.78 kB / 1.197 GB, free: 4.977 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/1.04, allocations: 0.5587 MB / 1.197 GB, free: 4.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/1.04, allocations: 33.7 kB / 1.197 GB, free: 4.371 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/1.041, allocations: 414.9 kB / 1.198 GB, free: 3.961 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/1.041, allocations: 177.6 kB / 1.198 GB, free: 3.785 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/1.041, allocations: 126.5 kB / 1.198 GB, free: 3.652 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.041, allocations: 378.7 kB / 1.198 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/1.042, allocations: 273.8 kB / 1.199 GB, free: 3.008 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/1.042, allocations: 493 kB / 1.199 GB, free: 2.434 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009946/1.043, allocations: 0.8133 MB / 1.2 GB, free: 1.527 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.043, allocations: 0 / 1.2 GB, free: 1.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001829/1.045, allocations: 1.09 MB / 1.201 GB, free: 428 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.045, allocations: 8.875 kB / 1.201 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.045, allocations: 8 kB / 1.201 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008826/1.046, allocations: 283.1 kB / 1.201 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/1.046, allocations: 127.9 kB / 1.201 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006685/1.053, allocations: 7.138 MB / 1.208 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/1.054, allocations: 40.02 kB / 1.208 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/1.054, allocations: 32 kB / 1.208 GB, free: 8.211 MB / 0.9356 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.0004506/1.054, allocations: 249.6 kB / 1.209 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/1.055, allocations: 75.09 kB / 1.209 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/1.056, allocations: 0.8848 MB / 1.209 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/1.056, allocations: 7.922 kB / 1.209 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.056, allocations: 0 / 1.209 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/1.057, allocations: 192.2 kB / 1.21 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/1.057, allocations: 8 kB / 1.21 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/1.057, allocations: 23.97 kB / 1.21 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/1.057, allocations: 48.36 kB / 1.21 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001969/1.059, allocations: 0.9514 MB / 1.211 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001248/1.061, allocations: 1.044 MB / 1.212 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000353/1.061, allocations: 263.3 kB / 1.212 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000523/1.061, allocations: 395 kB / 1.212 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of Backend: time 6.91e-07/1.061, allocations: 0 / 1.212 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002706/1.064, allocations: 1.311 MB / 1.214 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002997/1.067, allocations: 1.949 MB / 1.216 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of Templates: time 0.02368/1.091, allocations: 13.2 MB / 1.228 GB, free: 3.586 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches