Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001259/0.001259, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00133/0.00133, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.842/2.842, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 61.31 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3261, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05597/0.3821, allocations: 60.23 MB / 1.111 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02086/0.4031, allocations: 13.27 MB / 1.124 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005614/0.4088, allocations: 67.56 kB / 1.124 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00366/0.4125, allocations: 0.8082 MB / 1.125 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007473/0.42, allocations: 2.158 MB / 1.127 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004195/0.4242, allocations: 1.414 MB / 1.128 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0069/0.4311, allocations: 5.565 MB / 1.134 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.4331, allocations: 1.138 MB / 1.135 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/0.4366, allocations: 1.353 MB / 1.136 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.4391, allocations: 1.213 MB / 1.137 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000449/0.4396, allocations: 72 kB / 1.137 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00376/0.4434, allocations: 1.384 MB / 1.139 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004922/0.4439, allocations: 350.5 kB / 1.139 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.4452, allocations: 0.8508 MB / 1.14 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.4491, allocations: 2.715 MB / 1.142 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4491, allocations: 0 / 1.142 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.011e-06/0.4491, allocations: 0 / 1.142 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.223e-05/0.4491, allocations: 0 / 1.142 GB, free: 11.99 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.003857/0.453, allocations: 2.182 MB / 1.145 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4531, allocations: 8.031 kB / 1.145 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003716/0.4568, allocations: 0.5644 MB / 1.145 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.4593, allocations: 1.402 MB / 1.147 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.4595, allocations: 149.4 kB / 1.147 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.4596, allocations: 100 kB / 1.147 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.4628, allocations: 1.323 MB / 1.148 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.4628, allocations: 7.938 kB / 1.148 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.463, allocations: 39.98 kB / 1.148 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.463, allocations: 24 kB / 1.148 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003712/0.4667, allocations: 1.335 MB / 1.149 GB, free: 4.695 MB / 0.9044 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.007859/0.4746, allocations: 5.446 MB / 1.155 GB, free: 14.89 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00572/0.4803, allocations: 1.343 MB / 1.156 GB, free: 13.53 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.4821, allocations: 0.5997 MB / 1.157 GB, free: 12.92 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.4831, allocations: 1.232 MB / 1.158 GB, free: 11.41 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001935/0.4851, allocations: 0.6588 MB / 1.159 GB, free: 10.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 6.211e-06/0.4851, allocations: 3.984 kB / 1.159 GB, free: 10.74 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.005513/0.4906, allocations: 1.688 MB / 1.16 GB, free: 9.047 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.4907, allocations: 63.97 kB / 1.16 GB, free: 8.973 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.4925, allocations: 1.279 MB / 1.161 GB, free: 7.684 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.4927, allocations: 45.64 kB / 1.162 GB, free: 7.633 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006232/0.4933, allocations: 0.6541 MB / 1.162 GB, free: 6.969 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.4936, allocations: 240.6 kB / 1.162 GB, free: 6.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/0.4939, allocations: 178.4 kB / 1.163 GB, free: 6.551 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4941, allocations: 341.9 kB / 1.163 GB, free: 6.211 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.4957, allocations: 0.5278 MB / 1.163 GB, free: 5.68 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.4975, allocations: 0.756 MB / 1.164 GB, free: 4.844 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.5006, allocations: 1.144 MB / 1.165 GB, free: 3.652 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5006, allocations: 0 / 1.165 GB, free: 3.652 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004172/0.5048, allocations: 1.407 MB / 1.167 GB, free: 2.234 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.119e-05/0.5049, allocations: 33.7 kB / 1.167 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.5049, allocations: 4 kB / 1.167 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.644e-05/0.505, allocations: 11.94 kB / 1.167 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.5063, allocations: 260 kB / 1.167 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/0.5063, allocations: 7.938 kB / 1.167 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.5084, allocations: 222.9 kB / 1.167 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.5085, allocations: 39.98 kB / 1.167 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002279/0.5108, allocations: 0.7868 MB / 1.168 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001857/0.5127, allocations: 0.7477 MB / 1.169 GB, free: 40 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003136/0.5158, allocations: 1.132 MB / 1.17 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.131e-06/0.5158, allocations: 4 kB / 1.17 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004124/0.52, allocations: 1.391 MB / 1.171 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.52, allocations: 41.69 kB / 1.171 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5201, allocations: 320 / 1.171 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.5201, allocations: 12 kB / 1.171 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.5213, allocations: 251.6 kB / 1.171 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/0.5214, allocations: 11.94 kB / 1.171 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.5234, allocations: 215.2 kB / 1.172 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.5235, allocations: 39.97 kB / 1.172 GB, free: 12.88 MB / 0.9356 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.0003735/0.5239, allocations: 232 kB / 1.172 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005323/0.5244, allocations: 146.2 kB / 1.172 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004215/0.5286, allocations: 1.465 MB / 1.173 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.5287, allocations: 11.94 kB / 1.174 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.5287, allocations: 0 / 1.174 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003181/0.5319, allocations: 1.226 MB / 1.175 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00746/0.5394, allocations: 3.186 MB / 1.178 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.5394, allocations: 8 kB / 1.178 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.5406, allocations: 224.2 kB / 1.178 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/0.5406, allocations: 4 kB / 1.178 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/0.5407, allocations: 31.91 kB / 1.178 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.5408, allocations: 11.94 kB / 1.178 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.5408, allocations: 4 kB / 1.178 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005759/0.5465, allocations: 2.216 MB / 1.18 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009512/0.5475, allocations: 346.9 kB / 1.181 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/0.548, allocations: 19.94 kB / 1.181 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/0.5498, allocations: 175.7 kB / 1.181 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.55, allocations: 68.36 kB / 1.181 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.5501, allocations: 43.97 kB / 1.181 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001754/0.5519, allocations: 0.909 MB / 1.182 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.5e-07/0.5519, allocations: 0 / 1.182 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002951/0.5548, allocations: 0.7915 MB / 1.183 GB, free: 1.469 MB / 0.9356 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.001512/0.5564, allocations: 0.5161 MB / 1.183 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005891/0.5623, allocations: 1.992 MB / 1.185 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.5623, allocations: 0 / 1.185 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.5643, allocations: 0.6874 MB / 1.186 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004773/0.5691, allocations: 0.7412 MB / 1.186 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007543/0.5766, allocations: 3.397 MB / 1.19 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.5777, allocations: 1.23 MB / 1.191 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002406/0.5801, allocations: 363.6 kB / 1.191 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/0.5807, allocations: 127.4 kB / 1.191 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of SimCode: time 1.653e-06/0.5807, allocations: 0 / 1.191 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of Templates: time 0.05202/0.6327, allocations: 30.12 MB / 1.221 GB, free: 10.54 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches