Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 103.5 kB / 16.41 MB, free: 6.508 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.001519/0.001519, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.14 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.416/2.416, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.8394, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.0603/0.8997, allocations: 60.64 MB / 1.227 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.9193, allocations: 13.23 MB / 1.239 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003154/0.9225, allocations: 67.56 kB / 1.24 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003414/0.926, allocations: 0.9858 MB / 1.24 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007239/0.9333, allocations: 2.436 MB / 1.243 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004477/0.9378, allocations: 1.601 MB / 1.244 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00641/0.9442, allocations: 4.333 MB / 1.249 GB, free: 244 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.9468, allocations: 1.342 MB / 1.25 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003899/0.9507, allocations: 1.618 MB / 1.252 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.9529, allocations: 1.202 MB / 1.253 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004641/0.9534, allocations: 140 kB / 1.253 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003682/0.9571, allocations: 1.509 MB / 1.254 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007121/0.9578, allocations: 434.3 kB / 1.255 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001647/0.9595, allocations: 0.9134 MB / 1.256 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00554/0.965, allocations: 2.833 MB / 1.258 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.9651, allocations: 0 / 1.258 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9651, allocations: 0 / 1.258 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.928e-05/0.9652, allocations: 0 / 1.258 GB, free: 6.211 MB / 0.9825 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.005209/0.9704, allocations: 2.224 MB / 1.261 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.9704, allocations: 12.92 kB / 1.261 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003947/0.9744, allocations: 0.5566 MB / 1.261 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.9776, allocations: 1.465 MB / 1.263 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.9778, allocations: 153.3 kB / 1.263 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002609/0.9781, allocations: 100 kB / 1.263 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003317/0.9814, allocations: 1.33 MB / 1.264 GB, free: 212 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.9815, allocations: 0 / 1.264 GB, free: 212 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.9816, allocations: 47.98 kB / 1.264 GB, free: 164 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.9817, allocations: 24 kB / 1.264 GB, free: 140 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003994/0.9857, allocations: 1.347 MB / 1.265 GB, free: 14.79 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.009831/0.9955, allocations: 5.486 MB / 1.271 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.9984, allocations: 1.061 MB / 1.272 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/1, allocations: 0.6086 MB / 1.272 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009673/1.001, allocations: 1.236 MB / 1.274 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001887/1.003, allocations: 0.6627 MB / 1.274 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 3.206e-06/1.003, allocations: 4 kB / 1.274 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.005278/1.008, allocations: 1.707 MB / 1.276 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/1.008, allocations: 59.97 kB / 1.276 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/1.011, allocations: 1.344 MB / 1.277 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001429/1.011, allocations: 41.7 kB / 1.277 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007035/1.012, allocations: 0.6816 MB / 1.278 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/1.012, allocations: 236.6 kB / 1.278 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/1.012, allocations: 178.4 kB / 1.278 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.012, allocations: 334 kB / 1.279 GB, free: 440 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/1.014, allocations: 0.5356 MB / 1.279 GB, free: 15.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/1.016, allocations: 0.7517 MB / 1.28 GB, free: 15.06 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/1.019, allocations: 1.164 MB / 1.281 GB, free: 13.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.019, allocations: 0 / 1.281 GB, free: 13.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003993/1.023, allocations: 1.422 MB / 1.283 GB, free: 12.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/1.023, allocations: 37.95 kB / 1.283 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.023, allocations: 8 kB / 1.283 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/1.023, allocations: 8 kB / 1.283 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.024, allocations: 263.6 kB / 1.283 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/1.024, allocations: 4 kB / 1.283 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.026, allocations: 191 kB / 1.283 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/1.026, allocations: 39.98 kB / 1.283 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001986/1.028, allocations: 0.7985 MB / 1.284 GB, free: 11.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001728/1.03, allocations: 0.7517 MB / 1.285 GB, free: 10.22 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003361/1.033, allocations: 1.152 MB / 1.286 GB, free: 9.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/1.033, allocations: 0 / 1.286 GB, free: 9.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.00397/1.037, allocations: 1.411 MB / 1.287 GB, free: 7.594 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/1.037, allocations: 37.7 kB / 1.287 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/1.037, allocations: 7.938 kB / 1.287 GB, free: 7.543 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/1.037, allocations: 11.94 kB / 1.287 GB, free: 7.531 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/1.039, allocations: 251.8 kB / 1.287 GB, free: 7.285 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/1.039, allocations: 12 kB / 1.287 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/1.04, allocations: 167.4 kB / 1.288 GB, free: 7.109 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/1.04, allocations: 43.97 kB / 1.288 GB, free: 7.066 MB / 1.014 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.0003061/1.041, allocations: 236 kB / 1.288 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/1.041, allocations: 154.1 kB / 1.288 GB, free: 6.676 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003961/1.045, allocations: 1.466 MB / 1.289 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/1.045, allocations: 8 kB / 1.289 GB, free: 5.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.045, allocations: 0 / 1.289 GB, free: 5.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003172/1.048, allocations: 1.246 MB / 1.291 GB, free: 3.906 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006729/1.055, allocations: 3.238 MB / 1.294 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.055, allocations: 7.938 kB / 1.294 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.056, allocations: 224.2 kB / 1.294 GB, free: 296 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/1.056, allocations: 4 kB / 1.294 GB, free: 292 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/1.056, allocations: 27.97 kB / 1.294 GB, free: 264 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/1.056, allocations: 11.94 kB / 1.294 GB, free: 252 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.056, allocations: 8 kB / 1.294 GB, free: 244 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005488/1.062, allocations: 2.247 MB / 1.296 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007659/1.063, allocations: 358.8 kB / 1.297 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/1.063, allocations: 16 kB / 1.297 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/1.064, allocations: 131.9 kB / 1.297 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.064, allocations: 72.36 kB / 1.297 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.543e-05/1.064, allocations: 39.97 kB / 1.297 GB, free: 13.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001278/1.066, allocations: 0.9611 MB / 1.298 GB, free: 12.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.91e-07/1.066, allocations: 0 / 1.298 GB, free: 12.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001984/1.068, allocations: 0.8071 MB / 1.299 GB, free: 11.52 MB / 1.029 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.001021/1.069, allocations: 0.5212 MB / 1.299 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005351/1.074, allocations: 2.027 MB / 1.301 GB, free: 8.957 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/1.074, allocations: 4 kB / 1.301 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/1.076, allocations: 0.6757 MB / 1.302 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/1.08, allocations: 0.761 MB / 1.302 GB, free: 7.531 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006418/1.086, allocations: 2.956 MB / 1.305 GB, free: 4.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007673/1.087, allocations: 1.245 MB / 1.307 GB, free: 3.207 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005949/1.087, allocations: 135.4 kB / 1.307 GB, free: 3.074 MB / 1.029 GB Notification: Performance of SimCode: time 1.072e-06/1.087, allocations: 0 / 1.307 GB, free: 3.074 MB / 1.029 GB Notification: Performance of Templates: time 0.04043/1.128, allocations: 27.4 MB / 1.333 GB, free: 7.883 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches