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.006044/0.006044, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001182/0.001182, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.494/2.494, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185/1.187, allocations: 151.6 MB / 1.167 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06715/1.254, allocations: 60.62 MB / 1.226 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02347/1.278, allocations: 13.19 MB / 1.239 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003648/1.281, allocations: 71.56 kB / 1.239 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003317/1.285, allocations: 0.9664 MB / 1.24 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008261/1.293, allocations: 2.323 MB / 1.242 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004894/1.298, allocations: 1.573 MB / 1.244 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007356/1.305, allocations: 4.333 MB / 1.248 GB, free: 444 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/1.307, allocations: 1.345 MB / 1.249 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004202/1.312, allocations: 1.566 MB / 1.251 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/1.314, allocations: 1.206 MB / 1.252 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002747/1.314, allocations: 140 kB / 1.252 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004002/1.318, allocations: 1.474 MB / 1.253 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004819/1.319, allocations: 422.3 kB / 1.254 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/1.32, allocations: 0.9134 MB / 1.255 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005029/1.325, allocations: 2.796 MB / 1.257 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.325, allocations: 0 / 1.257 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.014e-06/1.325, allocations: 8 kB / 1.257 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.804e-05/1.325, allocations: 0 / 1.257 GB, free: 6.527 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.00423/1.329, allocations: 2.242 MB / 1.26 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.329, allocations: 8.922 kB / 1.26 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/1.333, allocations: 0.5693 MB / 1.26 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/1.336, allocations: 1.454 MB / 1.262 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/1.336, allocations: 157.3 kB / 1.262 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/1.336, allocations: 100 kB / 1.262 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003087/1.339, allocations: 1.326 MB / 1.263 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/1.339, allocations: 3.953 kB / 1.263 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/1.339, allocations: 36 kB / 1.263 GB, free: 480 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/1.339, allocations: 27.94 kB / 1.263 GB, free: 452 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003752/1.343, allocations: 1.339 MB / 1.264 GB, free: 15.1 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.009159/1.352, allocations: 5.458 MB / 1.27 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005407/1.358, allocations: 1.347 MB / 1.271 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/1.359, allocations: 0.6008 MB / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009614/1.36, allocations: 1.24 MB / 1.273 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001822/1.362, allocations: 0.655 MB / 1.274 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 3.176e-06/1.362, allocations: 0 / 1.274 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.005259/1.367, allocations: 1.696 MB / 1.275 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/1.367, allocations: 63.95 kB / 1.275 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/1.37, allocations: 1.295 MB / 1.277 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/1.37, allocations: 45.7 kB / 1.277 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006543/1.37, allocations: 0.6512 MB / 1.277 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/1.371, allocations: 253.8 kB / 1.277 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003328/1.371, allocations: 178.5 kB / 1.278 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.371, allocations: 341.9 kB / 1.278 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/1.373, allocations: 0.52 MB / 1.278 GB, free: 52 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/1.375, allocations: 0.7556 MB / 1.279 GB, free: 15.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/1.378, allocations: 1.14 MB / 1.28 GB, free: 14.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.378, allocations: 4 kB / 1.28 GB, free: 14.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004112/1.382, allocations: 1.412 MB / 1.282 GB, free: 12.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/1.382, allocations: 41.95 kB / 1.282 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.382, allocations: 4 kB / 1.282 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/1.382, allocations: 15.88 kB / 1.282 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/1.383, allocations: 255.6 kB / 1.282 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/1.384, allocations: 8 kB / 1.282 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/1.385, allocations: 187.3 kB / 1.282 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/1.385, allocations: 35.98 kB / 1.282 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002139/1.388, allocations: 0.7907 MB / 1.283 GB, free: 11.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00176/1.389, allocations: 0.7439 MB / 1.284 GB, free: 10.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003055/1.392, allocations: 1.132 MB / 1.285 GB, free: 9.242 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.275e-06/1.392, allocations: 4 kB / 1.285 GB, free: 9.238 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004055/1.396, allocations: 1.404 MB / 1.286 GB, free: 7.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/1.397, allocations: 37.69 kB / 1.286 GB, free: 7.777 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.397, allocations: 4 kB / 1.286 GB, free: 7.773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/1.397, allocations: 4 kB / 1.286 GB, free: 7.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.398, allocations: 259.9 kB / 1.286 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.269e-05/1.398, allocations: 11.94 kB / 1.286 GB, free: 7.504 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/1.4, allocations: 179.5 kB / 1.287 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.4, allocations: 35.98 kB / 1.287 GB, free: 7.293 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.0003803/1.4, allocations: 232.1 kB / 1.287 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005065/1.401, allocations: 155 kB / 1.287 GB, free: 6.906 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/1.405, allocations: 1.458 MB / 1.288 GB, free: 5.426 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.692e-05/1.405, allocations: 15.88 kB / 1.289 GB, free: 5.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.405, allocations: 0 / 1.289 GB, free: 5.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003325/1.408, allocations: 1.226 MB / 1.29 GB, free: 4.156 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007578/1.416, allocations: 3.202 MB / 1.293 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/1.416, allocations: 4 kB / 1.293 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/1.417, allocations: 224.2 kB / 1.293 GB, free: 0.582 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/1.417, allocations: 8 kB / 1.293 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/1.417, allocations: 35.91 kB / 1.293 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.589e-05/1.417, allocations: 11.98 kB / 1.293 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/1.417, allocations: 11.88 kB / 1.293 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006025/1.423, allocations: 2.217 MB / 1.295 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/1.424, allocations: 355.7 kB / 1.296 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005107/1.425, allocations: 27.92 kB / 1.296 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/1.427, allocations: 123.9 kB / 1.296 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.427, allocations: 76.36 kB / 1.296 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.427, allocations: 35.97 kB / 1.296 GB, free: 13.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001448/1.428, allocations: 0.9246 MB / 1.297 GB, free: 12.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.428, allocations: 0 / 1.297 GB, free: 12.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002393/1.431, allocations: 0.807 MB / 1.298 GB, free: 11.87 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.001192/1.432, allocations: 0.5209 MB / 1.298 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005405/1.437, allocations: 2.003 MB / 1.3 GB, free: 9.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.437, allocations: 4 kB / 1.3 GB, free: 9.316 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/1.439, allocations: 0.6796 MB / 1.301 GB, free: 8.641 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/1.443, allocations: 0.7612 MB / 1.301 GB, free: 7.895 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006888/1.45, allocations: 2.9 MB / 1.304 GB, free: 4.902 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/1.452, allocations: 1.234 MB / 1.305 GB, free: 3.641 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001864/1.453, allocations: 363.6 kB / 1.306 GB, free: 3.281 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004952/1.454, allocations: 131.4 kB / 1.306 GB, free: 3.152 MB / 1.029 GB Notification: Performance of SimCode: time 8.02e-07/1.454, allocations: 0 / 1.306 GB, free: 3.152 MB / 1.029 GB Notification: Performance of Templates: time 0.06523/1.519, allocations: 31.82 MB / 1.337 GB, free: 3.715 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/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