Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008737/0.008737, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001878/0.001878, allocations: 195.9 kB / 16.68 MB, free: 5.969 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.651/2.651, allocations: 469.8 MB / 0.7425 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 71.83 kB / 1.065 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.002, allocations: 159.1 MB / 1.221 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05775/1.06, allocations: 60.71 MB / 1.28 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01953/1.079, allocations: 13.22 MB / 1.293 GB, free: 7.922 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003438/1.083, allocations: 71.56 kB / 1.293 GB, free: 7.852 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003665/1.086, allocations: 1.002 MB / 1.294 GB, free: 6.844 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007606/1.094, allocations: 2.427 MB / 1.296 GB, free: 4.406 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004996/1.099, allocations: 1.592 MB / 1.298 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006728/1.106, allocations: 4.323 MB / 1.302 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/1.108, allocations: 1.13 MB / 1.303 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/1.112, allocations: 1.621 MB / 1.305 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/1.115, allocations: 1.202 MB / 1.306 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005851/1.115, allocations: 144 kB / 1.306 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004038/1.119, allocations: 1.474 MB / 1.307 GB, free: 8.891 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007311/1.12, allocations: 446.1 kB / 1.308 GB, free: 8.453 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001921/1.122, allocations: 0.9095 MB / 1.309 GB, free: 7.539 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007227/1.129, allocations: 2.788 MB / 1.312 GB, free: 4.742 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/1.129, allocations: 0 / 1.312 GB, free: 4.742 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.695e-06/1.129, allocations: 0 / 1.312 GB, free: 4.742 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001409/1.13, allocations: 0 / 1.312 GB, free: 4.742 MB / 1.029 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.006973/1.136, allocations: 2.253 MB / 1.314 GB, free: 2.418 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.137, allocations: 12.03 kB / 1.314 GB, free: 2.406 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/1.141, allocations: 0.6161 MB / 1.314 GB, free: 1.789 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003314/1.144, allocations: 1.466 MB / 1.316 GB, free: 280 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/1.144, allocations: 141.4 kB / 1.316 GB, free: 124 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/1.145, allocations: 115.9 kB / 1.316 GB, free: 8 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003408/1.148, allocations: 1.373 MB / 1.317 GB, free: 14.6 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/1.148, allocations: 7.938 kB / 1.317 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/1.148, allocations: 36 kB / 1.317 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/1.148, allocations: 28 kB / 1.317 GB, free: 14.53 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004082/1.152, allocations: 1.425 MB / 1.319 GB, free: 13.11 MB / 1.045 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.00932/1.162, allocations: 5.585 MB / 1.324 GB, free: 7.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005514/1.167, allocations: 1.34 MB / 1.326 GB, free: 5.797 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/1.169, allocations: 0.5919 MB / 1.326 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/1.17, allocations: 1.24 MB / 1.327 GB, free: 3.684 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001958/1.172, allocations: 0.6823 MB / 1.328 GB, free: 2.992 MB / 1.045 GB Notification: Performance of pre-optimization done (n=70): time 3.607e-06/1.172, allocations: 0 / 1.328 GB, free: 2.992 MB / 1.045 GB Notification: Performance of matching and sorting (n=70): time 0.005476/1.177, allocations: 1.766 MB / 1.33 GB, free: 1.219 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/1.178, allocations: 59.97 kB / 1.33 GB, free: 1.148 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/1.18, allocations: 1.295 MB / 1.331 GB, free: 15.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/1.18, allocations: 41.7 kB / 1.331 GB, free: 15.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006622/1.181, allocations: 0.6629 MB / 1.332 GB, free: 15.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/1.181, allocations: 257.7 kB / 1.332 GB, free: 14.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/1.181, allocations: 178.5 kB / 1.332 GB, free: 14.69 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.181, allocations: 337.9 kB / 1.333 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/1.183, allocations: 0.5512 MB / 1.333 GB, free: 13.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/1.185, allocations: 0.779 MB / 1.334 GB, free: 12.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/1.188, allocations: 1.183 MB / 1.335 GB, free: 11.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.188, allocations: 0 / 1.335 GB, free: 11.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0043/1.192, allocations: 1.462 MB / 1.336 GB, free: 10.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.796e-05/1.192, allocations: 33.7 kB / 1.336 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/1.192, allocations: 7.984 kB / 1.336 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.396e-05/1.192, allocations: 11.94 kB / 1.336 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.194, allocations: 264 kB / 1.337 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.364e-05/1.194, allocations: 11.94 kB / 1.337 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/1.196, allocations: 195.2 kB / 1.337 GB, free: 9.719 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/1.196, allocations: 39.98 kB / 1.337 GB, free: 9.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00261/1.199, allocations: 0.8063 MB / 1.338 GB, free: 8.867 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001819/1.2, allocations: 0.7712 MB / 1.338 GB, free: 8.016 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003167/1.204, allocations: 1.179 MB / 1.34 GB, free: 6.789 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.202e-06/1.204, allocations: 7.938 kB / 1.34 GB, free: 6.781 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004306/1.208, allocations: 1.443 MB / 1.341 GB, free: 5.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/1.208, allocations: 41.69 kB / 1.341 GB, free: 5.273 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.208, allocations: 8 kB / 1.341 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.208, allocations: 4 kB / 1.341 GB, free: 5.262 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/1.209, allocations: 263.9 kB / 1.341 GB, free: 5.004 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.842e-05/1.209, allocations: 11.94 kB / 1.341 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/1.211, allocations: 187.5 kB / 1.342 GB, free: 4.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.211, allocations: 43.97 kB / 1.342 GB, free: 4.766 MB / 1.061 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.0003632/1.212, allocations: 225.1 kB / 1.342 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005581/1.212, allocations: 159 kB / 1.342 GB, free: 4.383 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004247/1.216, allocations: 1.508 MB / 1.343 GB, free: 2.855 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/1.217, allocations: 11.94 kB / 1.343 GB, free: 2.844 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.217, allocations: 0 / 1.343 GB, free: 2.844 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003281/1.22, allocations: 1.277 MB / 1.345 GB, free: 1.535 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007396/1.227, allocations: 3.269 MB / 1.348 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.227, allocations: 4 kB / 1.348 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.228, allocations: 231.8 kB / 1.348 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/1.228, allocations: 8 kB / 1.348 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/1.229, allocations: 31.92 kB / 1.348 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-05/1.229, allocations: 8 kB / 1.348 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.229, allocations: 7.938 kB / 1.348 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005789/1.234, allocations: 2.295 MB / 1.35 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009117/1.235, allocations: 359.7 kB / 1.351 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004394/1.236, allocations: 19.94 kB / 1.351 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/1.237, allocations: 143.9 kB / 1.351 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/1.238, allocations: 72.36 kB / 1.351 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/1.238, allocations: 43.97 kB / 1.351 GB, free: 10.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001769/1.239, allocations: 0.9207 MB / 1.352 GB, free: 9.898 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.239, allocations: 0 / 1.352 GB, free: 9.898 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003078/1.242, allocations: 0.8148 MB / 1.353 GB, free: 9.082 MB / 1.076 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.001535/1.244, allocations: 0.5268 MB / 1.353 GB, free: 8.559 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005933/1.25, allocations: 2.003 MB / 1.355 GB, free: 6.527 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.25, allocations: 0 / 1.355 GB, free: 6.527 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/1.252, allocations: 0.6835 MB / 1.356 GB, free: 5.844 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004375/1.256, allocations: 0.7558 MB / 1.357 GB, free: 5.098 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007499/1.264, allocations: 2.915 MB / 1.359 GB, free: 2.09 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/1.265, allocations: 1.237 MB / 1.361 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001938/1.267, allocations: 375.5 kB / 1.361 GB, free: 460 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005385/1.267, allocations: 127.3 kB / 1.361 GB, free: 332 kB / 1.076 GB Notification: Performance of SimCode: time 1.913e-06/1.267, allocations: 0 / 1.361 GB, free: 332 kB / 1.076 GB Notification: Performance of Templates: time 0.06425/1.332, allocations: 32.16 MB / 1.392 GB, free: 0.5781 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches