Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.005564/0.005564, allocations: 96.33 kB / 15.73 MB, free: 6.055 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.001115/0.001115, allocations: 195 kB / 16.67 MB, free: 5.977 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.692/2.692, allocations: 437 MB / 0.7105 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 59.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4232, allocations: 151.6 MB / 1.167 GB, free: 6.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07014/0.4934, allocations: 60.64 MB / 1.226 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.5158, allocations: 13.18 MB / 1.239 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003677/0.5195, allocations: 71.56 kB / 1.239 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003759/0.5233, allocations: 0.9937 MB / 1.24 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009553/0.533, allocations: 2.429 MB / 1.242 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005196/0.5382, allocations: 1.586 MB / 1.244 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007701/0.5459, allocations: 4.329 MB / 1.248 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.5489, allocations: 1.361 MB / 1.249 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004916/0.5538, allocations: 1.6 MB / 1.251 GB, free: 360 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.9047/1.459, allocations: 1.195 MB / 1.252 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008587/1.459, allocations: 142.2 kB / 1.252 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005216/1.465, allocations: 1.474 MB / 1.254 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007717/1.465, allocations: 420 kB / 1.254 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00224/1.468, allocations: 0.9129 MB / 1.255 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008094/1.476, allocations: 2.798 MB / 1.258 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.476, allocations: 1.375 kB / 1.258 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.354e-06/1.476, allocations: 2.156 kB / 1.258 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.974e-05/1.476, allocations: 0.9688 kB / 1.258 GB, free: 17.82 MB / 0.9981 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.007284/1.483, allocations: 2.25 MB / 1.26 GB, free: 16.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/1.483, allocations: 10.3 kB / 1.26 GB, free: 16.64 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004498/1.488, allocations: 0.5567 MB / 1.26 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004357/1.492, allocations: 1.461 MB / 1.262 GB, free: 16.08 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/1.492, allocations: 149 kB / 1.262 GB, free: 16.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/1.493, allocations: 103.1 kB / 1.262 GB, free: 16.01 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004221/1.497, allocations: 1.324 MB / 1.263 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/1.497, allocations: 3.375 kB / 1.263 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/1.497, allocations: 42.86 kB / 1.263 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/1.497, allocations: 24.89 kB / 1.263 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005687/1.503, allocations: 1.335 MB / 1.265 GB, free: 15.84 MB / 0.9981 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.01067/1.514, allocations: 5.464 MB / 1.27 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005819/1.52, allocations: 1.328 MB / 1.271 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/1.521, allocations: 0.6085 MB / 1.272 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007691/1.522, allocations: 1.242 MB / 1.273 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002022/1.524, allocations: 0.6603 MB / 1.274 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 4.598e-06/1.524, allocations: 1.984 kB / 1.274 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.005812/1.53, allocations: 1.688 MB / 1.275 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/1.53, allocations: 60.58 kB / 1.275 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/1.533, allocations: 1.294 MB / 1.277 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002222/1.533, allocations: 48.33 kB / 1.277 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006804/1.534, allocations: 0.6594 MB / 1.277 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000325/1.534, allocations: 247.7 kB / 1.278 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/1.534, allocations: 181.4 kB / 1.278 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.535, allocations: 345 kB / 1.278 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/1.536, allocations: 0.5231 MB / 1.279 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/1.538, allocations: 0.7519 MB / 1.279 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003338/1.542, allocations: 1.143 MB / 1.28 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.542, allocations: 4.719 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00462/1.546, allocations: 1.415 MB / 1.282 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/1.546, allocations: 39.53 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.546, allocations: 3.438 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.676e-05/1.546, allocations: 7.219 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.548, allocations: 261.5 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/1.548, allocations: 7.281 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/1.55, allocations: 188.4 kB / 1.282 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/1.55, allocations: 42.91 kB / 1.282 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002235/1.552, allocations: 0.787 MB / 1.283 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001692/1.554, allocations: 0.7488 MB / 1.284 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002995/1.557, allocations: 1.13 MB / 1.285 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.699e-06/1.557, allocations: 1.094 kB / 1.285 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004151/1.561, allocations: 1.406 MB / 1.286 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/1.561, allocations: 37.77 kB / 1.286 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.561, allocations: 3.75 kB / 1.286 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.561, allocations: 6.766 kB / 1.286 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/1.562, allocations: 260.4 kB / 1.287 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/1.562, allocations: 7.031 kB / 1.287 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/1.564, allocations: 174.9 kB / 1.287 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-05/1.564, allocations: 35.36 kB / 1.287 GB, free: 9.125 MB / 0.9981 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.0003854/1.565, allocations: 238.8 kB / 1.287 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/1.565, allocations: 155.4 kB / 1.287 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/1.569, allocations: 1.453 MB / 1.289 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/1.569, allocations: 9.078 kB / 1.289 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.569, allocations: 4.703 kB / 1.289 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003193/1.572, allocations: 1.225 MB / 1.29 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007578/1.58, allocations: 3.202 MB / 1.293 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.58, allocations: 3.781 kB / 1.293 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/1.581, allocations: 227.7 kB / 1.293 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/1.581, allocations: 7.594 kB / 1.293 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.387e-05/1.581, allocations: 27.83 kB / 1.293 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/1.581, allocations: 8.391 kB / 1.293 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.581, allocations: 8.062 kB / 1.293 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005795/1.587, allocations: 2.227 MB / 1.295 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.588, allocations: 353.6 kB / 1.296 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/1.588, allocations: 24.77 kB / 1.296 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/1.59, allocations: 127.1 kB / 1.296 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/1.59, allocations: 74.52 kB / 1.296 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/1.59, allocations: 42.73 kB / 1.296 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001664/1.592, allocations: 0.9203 MB / 1.297 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.592, allocations: 0 / 1.297 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003622/1.595, allocations: 0.8105 MB / 1.298 GB, free: 6.945 MB / 0.9981 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.001687/1.597, allocations: 0.5188 MB / 1.298 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006222/1.603, allocations: 2.008 MB / 1.3 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/1.603, allocations: 3.469 kB / 1.3 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/1.605, allocations: 0.6801 MB / 1.301 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004946/1.61, allocations: 0.769 MB / 1.302 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00764/1.618, allocations: 2.893 MB / 1.304 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.619, allocations: 1.234 MB / 1.306 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002496/1.622, allocations: 362.9 kB / 1.306 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00065/1.622, allocations: 136.5 kB / 1.306 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.623, allocations: 0 / 1.306 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of Templates: time 0.06176/1.684, allocations: 31.83 MB / 1.337 GB, free: 7.039 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches