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.001107/0.001107, allocations: 112.4 kB / 16.41 MB, free: 6.016 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.00111/0.00111, allocations: 183.8 kB / 17.34 MB, free: 5.629 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.339/1.339, 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.557/2.557, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7641/0.7655, allocations: 151.6 MB / 1.167 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008911/0.7745, allocations: 6.826 MB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005249/0.7798, allocations: 3.063 MB / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006323/0.7804, allocations: 27.81 kB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002468/0.7829, allocations: 0.9476 MB / 1.178 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.7843, allocations: 0.5168 MB / 1.178 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.7855, allocations: 448.3 kB / 1.179 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00162/0.7871, allocations: 1.244 MB / 1.18 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.7881, allocations: 0.6593 MB / 1.181 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007872/0.7889, allocations: 482.3 kB / 1.181 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008216/0.7898, allocations: 0.5215 MB / 1.182 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.7899, allocations: 68 kB / 1.182 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007522/0.7907, allocations: 379.2 kB / 1.182 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003359/0.791, allocations: 307.2 kB / 1.182 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005933/0.7916, allocations: 457.7 kB / 1.183 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.7932, allocations: 1.226 MB / 1.184 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7932, allocations: 0 / 1.184 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7932, allocations: 0 / 1.184 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.544e-05/0.7932, allocations: 0 / 1.184 GB, free: 2.879 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.002138/0.7954, allocations: 1.191 MB / 1.185 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.7954, allocations: 8.922 kB / 1.185 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.797, allocations: 244.1 kB / 1.185 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009362/0.7979, allocations: 0.6198 MB / 1.186 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.798, allocations: 45.67 kB / 1.186 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.7981, allocations: 68.36 kB / 1.186 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.7995, allocations: 1.077 MB / 1.187 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.7996, allocations: 11.94 kB / 1.187 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.7996, allocations: 31.98 kB / 1.187 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.7998, allocations: 85.25 kB / 1.187 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.8009, allocations: 0.7504 MB / 1.188 GB, free: 14.54 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.8059, allocations: 5.882 MB / 1.194 GB, free: 8.238 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/0.8069, allocations: 0.5537 MB / 1.194 GB, free: 7.676 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004354/0.8073, allocations: 327.3 kB / 1.195 GB, free: 7.355 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.8074, allocations: 12.42 kB / 1.195 GB, free: 7.344 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.8074, allocations: 39 kB / 1.195 GB, free: 7.297 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 1.943e-06/0.8074, allocations: 0 / 1.195 GB, free: 7.297 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.003615/0.811, allocations: 1.995 MB / 1.197 GB, free: 5.207 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.8111, allocations: 63.77 kB / 1.197 GB, free: 5.133 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006195/0.8117, allocations: 0.5665 MB / 1.197 GB, free: 4.559 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.8118, allocations: 33.7 kB / 1.197 GB, free: 4.52 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.812, allocations: 420.1 kB / 1.198 GB, free: 4.105 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.8122, allocations: 178.5 kB / 1.198 GB, free: 3.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.8124, allocations: 122.6 kB / 1.198 GB, free: 3.801 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.8125, allocations: 382.7 kB / 1.198 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.8129, allocations: 281.8 kB / 1.199 GB, free: 3.145 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.8135, allocations: 493 kB / 1.199 GB, free: 2.57 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009949/0.8145, allocations: 0.8093 MB / 1.2 GB, free: 1.668 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8145, allocations: 7.938 kB / 1.2 GB, free: 1.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001647/0.8162, allocations: 1.091 MB / 1.201 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.8162, allocations: 10.97 kB / 1.201 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.8162, allocations: 8 kB / 1.201 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007694/0.817, allocations: 283.7 kB / 1.201 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.8174, allocations: 123.8 kB / 1.201 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006473/0.8239, allocations: 7.142 MB / 1.208 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/0.8246, allocations: 39.97 kB / 1.208 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.8246, allocations: 28 kB / 1.208 GB, free: 8.348 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.0003687/0.825, allocations: 258.1 kB / 1.209 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.8251, allocations: 75.56 kB / 1.209 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.8266, allocations: 0.8926 MB / 1.21 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8266, allocations: 7.984 kB / 1.21 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8266, allocations: 7.984 kB / 1.21 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.8266, allocations: 0 / 1.21 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.8289, allocations: 1.724 MB / 1.211 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.8289, allocations: 4 kB / 1.211 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.8292, allocations: 63.83 kB / 1.211 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006874/0.8299, allocations: 267.5 kB / 1.212 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.8299, allocations: 12 kB / 1.212 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006018/0.836, allocations: 7.132 MB / 1.219 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.836, allocations: 8.016 kB / 1.219 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.8375, allocations: 0.9916 MB / 1.22 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.8377, allocations: 192.6 kB / 1.22 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/0.8378, allocations: 12 kB / 1.22 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.8382, allocations: 27.91 kB / 1.22 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.8383, allocations: 43.94 kB / 1.22 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.8383, allocations: 16 kB / 1.22 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004058/0.8388, allocations: 391.1 kB / 1.22 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.8388, allocations: 0 / 1.22 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007894/0.8396, allocations: 224 kB / 1.22 GB, free: 11.28 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001762/0.8397, allocations: 115.1 kB / 1.221 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001849/0.8416, allocations: 1.283 MB / 1.222 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8416, allocations: 0 / 1.222 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.8428, allocations: 0.897 MB / 1.223 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009379/0.8437, allocations: 221 kB / 1.223 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.8458, allocations: 1.408 MB / 1.224 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.8463, allocations: 1.016 MB / 1.225 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.8465, allocations: 43.44 kB / 1.225 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.8465, allocations: 0 / 1.225 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of Templates: time 0.02172/0.8682, allocations: 20.92 MB / 1.246 GB, free: 1.238 MB / 0.9669 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