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.001291/0.001291, allocations: 110.6 kB / 16.41 MB, free: 6.496 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.001263/0.001264, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.512/1.512, allocations: 222.9 MB / 241 MB, free: 15.19 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.503/2.503, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7904/0.7918, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06602/0.8578, allocations: 60.63 MB / 1.227 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02007/0.8779, allocations: 13.19 MB / 1.239 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/0.8808, allocations: 71.56 kB / 1.239 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003221/0.8841, allocations: 0.9897 MB / 1.24 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007073/0.8912, allocations: 2.435 MB / 1.243 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.8957, allocations: 1.588 MB / 1.244 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006162/0.9019, allocations: 4.33 MB / 1.249 GB, free: 336 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002606/0.9045, allocations: 1.349 MB / 1.25 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004231/0.9088, allocations: 1.611 MB / 1.251 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.9112, allocations: 1.194 MB / 1.253 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006535/0.9118, allocations: 144 kB / 1.253 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/0.9157, allocations: 1.478 MB / 1.254 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007874/0.9166, allocations: 426.4 kB / 1.255 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.9186, allocations: 0.9095 MB / 1.256 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005427/0.924, allocations: 2.79 MB / 1.258 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.9241, allocations: 0 / 1.258 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9241, allocations: 0 / 1.258 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.448e-05/0.9242, allocations: 0 / 1.258 GB, free: 6.391 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.004937/0.9291, allocations: 2.174 MB / 1.26 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.9292, allocations: 12.62 kB / 1.26 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003795/0.933, allocations: 0.5565 MB / 1.261 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003104/0.9361, allocations: 1.445 MB / 1.262 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.9363, allocations: 153.3 kB / 1.262 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.9365, allocations: 104 kB / 1.263 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.9396, allocations: 1.323 MB / 1.264 GB, free: 472 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.9397, allocations: 8 kB / 1.264 GB, free: 464 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.9398, allocations: 40 kB / 1.264 GB, free: 424 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.9398, allocations: 27.94 kB / 1.264 GB, free: 396 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.9436, allocations: 1.331 MB / 1.265 GB, free: 15.05 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.008088/0.9517, allocations: 5.454 MB / 1.271 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005533/0.9572, allocations: 1.344 MB / 1.272 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.9589, allocations: 0.6086 MB / 1.272 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008971/0.9598, allocations: 1.24 MB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001746/0.9615, allocations: 0.655 MB / 1.274 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 3.677e-06/0.9616, allocations: 0 / 1.274 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.00504/0.9666, allocations: 1.691 MB / 1.276 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.9667, allocations: 59.97 kB / 1.276 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.9687, allocations: 1.291 MB / 1.277 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.9689, allocations: 37.7 kB / 1.277 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/0.9695, allocations: 0.6542 MB / 1.278 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.9698, allocations: 244.5 kB / 1.278 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003413/0.9701, allocations: 178.4 kB / 1.278 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.9703, allocations: 338 kB / 1.279 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.9719, allocations: 0.5239 MB / 1.279 GB, free: 28 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.9736, allocations: 0.7556 MB / 1.28 GB, free: 15.19 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003085/0.9767, allocations: 1.14 MB / 1.281 GB, free: 14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.9767, allocations: 0 / 1.281 GB, free: 14 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00396/0.9807, allocations: 1.407 MB / 1.282 GB, free: 12.58 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.9808, allocations: 29.7 kB / 1.282 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.9808, allocations: 4 kB / 1.282 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.9808, allocations: 11.94 kB / 1.282 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.9821, allocations: 263.9 kB / 1.283 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.9821, allocations: 8 kB / 1.283 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.9837, allocations: 179 kB / 1.283 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.9839, allocations: 39.98 kB / 1.283 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002087/0.986, allocations: 0.7906 MB / 1.284 GB, free: 11.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001755/0.9877, allocations: 0.7462 MB / 1.284 GB, free: 10.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003001/0.9907, allocations: 1.136 MB / 1.286 GB, free: 9.238 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.448e-06/0.9908, allocations: 0 / 1.286 GB, free: 9.238 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003867/0.9946, allocations: 1.395 MB / 1.287 GB, free: 7.828 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.9947, allocations: 33.7 kB / 1.287 GB, free: 7.789 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.9947, allocations: 7.984 kB / 1.287 GB, free: 7.781 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.9947, allocations: 8 kB / 1.287 GB, free: 7.773 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.996, allocations: 255.9 kB / 1.287 GB, free: 7.523 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.996, allocations: 11.94 kB / 1.287 GB, free: 7.512 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.9976, allocations: 183.2 kB / 1.287 GB, free: 7.332 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/0.9977, allocations: 35.97 kB / 1.287 GB, free: 7.297 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.0002924/0.998, allocations: 228.1 kB / 1.288 GB, free: 7.066 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.9984, allocations: 146.2 kB / 1.288 GB, free: 6.922 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/1.002, allocations: 1.469 MB / 1.289 GB, free: 5.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/1.002, allocations: 7.938 kB / 1.289 GB, free: 5.422 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.002, allocations: 4 kB / 1.289 GB, free: 5.418 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003112/1.005, allocations: 1.222 MB / 1.29 GB, free: 4.168 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006792/1.012, allocations: 3.199 MB / 1.294 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.012, allocations: 4 kB / 1.294 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.013, allocations: 223.7 kB / 1.294 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/1.014, allocations: 8 kB / 1.294 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.248e-05/1.014, allocations: 27.92 kB / 1.294 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/1.014, allocations: 8 kB / 1.294 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.014, allocations: 11.92 kB / 1.294 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005473/1.019, allocations: 2.216 MB / 1.296 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007735/1.02, allocations: 346.9 kB / 1.296 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/1.02, allocations: 23.94 kB / 1.296 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.022, allocations: 127.8 kB / 1.296 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.022, allocations: 80.3 kB / 1.297 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.274e-05/1.022, allocations: 43.91 kB / 1.297 GB, free: 13.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001397/1.023, allocations: 0.9207 MB / 1.297 GB, free: 12.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.023, allocations: 0 / 1.297 GB, free: 12.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002175/1.025, allocations: 0.7993 MB / 1.298 GB, free: 11.9 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.001093/1.027, allocations: 0.5146 MB / 1.299 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005348/1.032, allocations: 2.011 MB / 1.301 GB, free: 9.352 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/1.032, allocations: 0 / 1.301 GB, free: 9.352 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001834/1.034, allocations: 0.664 MB / 1.301 GB, free: 8.691 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/1.038, allocations: 0.7578 MB / 1.302 GB, free: 7.945 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006824/1.044, allocations: 2.889 MB / 1.305 GB, free: 4.961 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009344/1.045, allocations: 1.234 MB / 1.306 GB, free: 3.699 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005641/1.046, allocations: 135.4 kB / 1.306 GB, free: 3.566 MB / 1.029 GB Notification: Performance of SimCode: time 7.32e-07/1.046, allocations: 0 / 1.306 GB, free: 3.566 MB / 1.029 GB Notification: Performance of Templates: time 0.03935/1.085, allocations: 27.02 MB / 1.333 GB, free: 8.758 MB / 1.061 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches