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.009934/0.009934, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.002262/0.002262, allocations: 193.7 kB / 16.67 MB, free: 5.523 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.63/2.63, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.84 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.961/0.9625, allocations: 151.6 MB / 1.167 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008316/0.9708, allocations: 6.81 MB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005138/0.976, allocations: 3.067 MB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006339/0.9767, allocations: 27.81 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/0.9793, allocations: 0.9478 MB / 1.177 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.9807, allocations: 0.4973 MB / 1.178 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.982, allocations: 444.8 kB / 1.178 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.9835, allocations: 1.244 MB / 1.179 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.9845, allocations: 0.6554 MB / 1.18 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006931/0.9852, allocations: 486.3 kB / 1.18 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007093/0.9859, allocations: 0.5098 MB / 1.181 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.9861, allocations: 68 kB / 1.181 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008483/0.9869, allocations: 379.2 kB / 1.181 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.9873, allocations: 311.1 kB / 1.182 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000479/0.9877, allocations: 449.8 kB / 1.182 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.9893, allocations: 1.237 MB / 1.183 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9893, allocations: 0 / 1.183 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9893, allocations: 0 / 1.183 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.393e-05/0.9893, allocations: 0 / 1.183 GB, free: 2.801 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.002029/0.9913, allocations: 1.191 MB / 1.184 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.9914, allocations: 12.86 kB / 1.184 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.993, allocations: 240.1 kB / 1.185 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000953/0.9939, allocations: 0.6159 MB / 1.185 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.994, allocations: 49.67 kB / 1.185 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.9941, allocations: 64.36 kB / 1.185 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.9957, allocations: 1.085 MB / 1.186 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.9957, allocations: 7.938 kB / 1.186 GB, free: 15.33 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.895e-05/0.9958, allocations: 31.98 kB / 1.186 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.996, allocations: 85.25 kB / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.9972, allocations: 0.7543 MB / 1.187 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00658/1.004, allocations: 5.879 MB / 1.193 GB, free: 8.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/1.005, allocations: 0.5555 MB / 1.194 GB, free: 7.594 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/1.005, allocations: 326.5 kB / 1.194 GB, free: 7.273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/1.005, allocations: 4.438 kB / 1.194 GB, free: 7.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/1.005, allocations: 43 kB / 1.194 GB, free: 7.219 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 3.676e-06/1.005, allocations: 4 kB / 1.194 GB, free: 7.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.004026/1.009, allocations: 1.991 MB / 1.196 GB, free: 5.129 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/1.01, allocations: 59.84 kB / 1.196 GB, free: 5.059 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007549/1.01, allocations: 0.5626 MB / 1.197 GB, free: 4.488 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/1.01, allocations: 45.64 kB / 1.197 GB, free: 4.438 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/1.011, allocations: 420.1 kB / 1.197 GB, free: 4.023 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/1.011, allocations: 182.5 kB / 1.197 GB, free: 3.844 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/1.011, allocations: 122.6 kB / 1.197 GB, free: 3.715 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.011, allocations: 378.7 kB / 1.198 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/1.012, allocations: 273.8 kB / 1.198 GB, free: 3.07 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006055/1.012, allocations: 0.4892 MB / 1.198 GB, free: 2.488 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/1.013, allocations: 0.8093 MB / 1.199 GB, free: 1.586 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.013, allocations: 4 kB / 1.199 GB, free: 1.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00187/1.015, allocations: 1.091 MB / 1.2 GB, free: 484 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.015, allocations: 8 kB / 1.2 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.015, allocations: 8 kB / 1.2 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008953/1.016, allocations: 283.2 kB / 1.2 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/1.017, allocations: 123.8 kB / 1.201 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/1.024, allocations: 7.146 MB / 1.208 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007309/1.024, allocations: 43.95 kB / 1.208 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/1.024, allocations: 24 kB / 1.208 GB, free: 8.266 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.0003986/1.025, allocations: 258 kB / 1.208 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/1.025, allocations: 75.64 kB / 1.208 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/1.026, allocations: 0.8925 MB / 1.209 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/1.027, allocations: 7.938 kB / 1.209 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/1.027, allocations: 4 kB / 1.209 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.027, allocations: 3.984 kB / 1.209 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/1.029, allocations: 1.724 MB / 1.211 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.029, allocations: 0 / 1.211 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/1.029, allocations: 67.83 kB / 1.211 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007681/1.03, allocations: 271.5 kB / 1.211 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/1.03, allocations: 8 kB / 1.211 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006537/1.037, allocations: 7.128 MB / 1.218 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.037, allocations: 4.031 kB / 1.218 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/1.039, allocations: 0.9877 MB / 1.219 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/1.039, allocations: 192.6 kB / 1.219 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.809e-05/1.039, allocations: 8 kB / 1.219 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/1.039, allocations: 39.89 kB / 1.219 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/1.04, allocations: 39.95 kB / 1.219 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/1.04, allocations: 16 kB / 1.219 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000476/1.04, allocations: 391.1 kB / 1.219 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/1.04, allocations: 0 / 1.219 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008685/1.041, allocations: 220 kB / 1.22 GB, free: 11.21 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.0001873/1.041, allocations: 123.2 kB / 1.22 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002241/1.043, allocations: 1.279 MB / 1.221 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.043, allocations: 4 kB / 1.221 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/1.045, allocations: 0.8854 MB / 1.222 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/1.046, allocations: 232.3 kB / 1.222 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/1.049, allocations: 1.353 MB / 1.223 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007865/1.049, allocations: 1.012 MB / 1.224 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000497/1.05, allocations: 130 kB / 1.225 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/1.05, allocations: 43.44 kB / 1.225 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of SimCode: time 2.966e-06/1.05, allocations: 0 / 1.225 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of Templates: time 0.02153/1.072, allocations: 11.32 MB / 1.236 GB, free: 10.79 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/jenkins/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