Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.00129, allocations: 104.2 kB / 15.98 MB, free: 6.355 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.001214/0.001214, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.563/2.563, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 72.64 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3091, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.5552/0.8643, allocations: 60.09 MB / 1.123 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02211/0.8865, allocations: 13.12 MB / 1.136 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003709/0.8902, allocations: 69.75 kB / 1.136 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003146/0.8934, allocations: 0.841 MB / 1.137 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008682/0.9021, allocations: 2.167 MB / 1.139 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005025/0.9072, allocations: 1.438 MB / 1.14 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.008129/0.9153, allocations: 4.354 MB / 1.144 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002667/0.918, allocations: 1.33 MB / 1.146 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005075/0.9231, allocations: 1.591 MB / 1.147 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002968/0.9261, allocations: 1.238 MB / 1.148 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003911/0.9265, allocations: 141.5 kB / 1.148 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004677/0.9312, allocations: 1.486 MB / 1.15 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006111/0.9318, allocations: 425.3 kB / 1.15 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.9335, allocations: 0.9191 MB / 1.151 GB, free: 168 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004279/0.9378, allocations: 2.116 MB / 1.153 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.9378, allocations: 0 / 1.153 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.549e-06/0.9379, allocations: 0 / 1.153 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.636e-05/0.9379, allocations: 3.938 kB / 1.153 GB, free: 15.47 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.00526/0.9432, allocations: 2.182 MB / 1.155 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.9432, allocations: 8.875 kB / 1.155 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004387/0.9476, allocations: 0.6077 MB / 1.156 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/0.9505, allocations: 1.424 MB / 1.157 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.9507, allocations: 147.7 kB / 1.158 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.9509, allocations: 100.5 kB / 1.158 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003323/0.9542, allocations: 1.377 MB / 1.159 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.9543, allocations: 5.625 kB / 1.159 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.9544, allocations: 37.69 kB / 1.159 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.9544, allocations: 23.34 kB / 1.159 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003995/0.9584, allocations: 1.424 MB / 1.16 GB, free: 11.9 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009079/0.9675, allocations: 5.558 MB / 1.166 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005535/0.9731, allocations: 1.393 MB / 1.167 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.9748, allocations: 0.6284 MB / 1.168 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.976, allocations: 1.233 MB / 1.169 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002002/0.978, allocations: 0.6837 MB / 1.17 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=70): time 3.347e-06/0.978, allocations: 4 kB / 1.17 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70): time 0.005815/0.9838, allocations: 1.757 MB / 1.171 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.9839, allocations: 67.67 kB / 1.172 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.9861, allocations: 1.277 MB / 1.173 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.9863, allocations: 44.67 kB / 1.173 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007711/0.9871, allocations: 0.6491 MB / 1.173 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.9874, allocations: 250.4 kB / 1.174 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/0.9878, allocations: 180.3 kB / 1.174 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.988, allocations: 333.1 kB / 1.174 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.9897, allocations: 0.5564 MB / 1.175 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.9916, allocations: 0.7825 MB / 1.175 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/0.995, allocations: 1.188 MB / 1.177 GB, free: 124 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.995, allocations: 5 kB / 1.177 GB, free: 120 kB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004481/0.9995, allocations: 1.452 MB / 1.178 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.948e-05/0.9996, allocations: 34.42 kB / 1.178 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.9996, allocations: 7.375 kB / 1.178 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.9996, allocations: 6.625 kB / 1.178 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/1.001, allocations: 265.2 kB / 1.178 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/1.001, allocations: 17.31 kB / 1.178 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/1.003, allocations: 240.4 kB / 1.179 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/1.003, allocations: 38.42 kB / 1.179 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002303/1.006, allocations: 0.8138 MB / 1.179 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001921/1.008, allocations: 0.7705 MB / 1.18 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003295/1.011, allocations: 1.176 MB / 1.181 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.738e-06/1.011, allocations: 1.375 kB / 1.181 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004405/1.015, allocations: 1.438 MB / 1.183 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/1.015, allocations: 37.84 kB / 1.183 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.015, allocations: 2.75 kB / 1.183 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/1.015, allocations: 7.125 kB / 1.183 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/1.017, allocations: 270.1 kB / 1.183 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/1.017, allocations: 9.312 kB / 1.183 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.019, allocations: 225.7 kB / 1.183 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/1.019, allocations: 35.27 kB / 1.183 GB, free: 12.63 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003846/1.019, allocations: 226.4 kB / 1.184 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003739/1.02, allocations: 150.4 kB / 1.184 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004159/1.024, allocations: 1.512 MB / 1.185 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/1.024, allocations: 16.22 kB / 1.185 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/1.024, allocations: 7.984 kB / 1.185 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003292/1.027, allocations: 1.264 MB / 1.186 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007534/1.035, allocations: 3.248 MB / 1.19 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/1.035, allocations: 4 kB / 1.19 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.036, allocations: 232.1 kB / 1.19 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/1.036, allocations: 4 kB / 1.19 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.49e-05/1.036, allocations: 35.91 kB / 1.19 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/1.036, allocations: 8 kB / 1.19 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.036, allocations: 7.938 kB / 1.19 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00601/1.042, allocations: 2.294 MB / 1.192 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/1.043, allocations: 350.9 kB / 1.192 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/1.044, allocations: 19.94 kB / 1.192 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.045, allocations: 171.7 kB / 1.193 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/1.045, allocations: 76.36 kB / 1.193 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.045, allocations: 43.95 kB / 1.193 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001381/1.047, allocations: 0.9051 MB / 1.194 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.71e-07/1.047, allocations: 3.938 kB / 1.194 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002402/1.049, allocations: 0.8031 MB / 1.194 GB, free: 2.672 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001279/1.05, allocations: 0.5029 MB / 1.195 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006089/1.057, allocations: 2.132 MB / 1.197 GB, free: 16 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.057, allocations: 0 / 1.197 GB, free: 16 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002066/1.059, allocations: 0.6875 MB / 1.198 GB, free: 15.32 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004238/1.063, allocations: 0.7629 MB / 1.198 GB, free: 14.58 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007567/1.071, allocations: 3.463 MB / 1.202 GB, free: 11.02 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000918/1.072, allocations: 1.233 MB / 1.203 GB, free: 9.762 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007597/1.072, allocations: 139.3 kB / 1.203 GB, free: 9.629 MB / 0.92 GB Notification: Performance of SimCode: time 8.61e-07/1.072, allocations: 0 / 1.203 GB, free: 9.629 MB / 0.92 GB Notification: Performance of Templates: time 0.04507/1.117, allocations: 26.85 MB / 1.229 GB, free: 14.99 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches