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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.007459/0.007459, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001645/0.001645, allocations: 194.4 kB / 16.79 MB, free: 5.809 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 75.38 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3103, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06131/0.3717, allocations: 60.23 MB / 1.112 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01854/0.3903, allocations: 13.25 MB / 1.124 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.3929, allocations: 67.56 kB / 1.125 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.3957, allocations: 0.8121 MB / 1.125 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006028/0.4018, allocations: 2.149 MB / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004029/0.4059, allocations: 1.421 MB / 1.129 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006733/0.4126, allocations: 5.565 MB / 1.134 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002112/0.4147, allocations: 1.134 MB / 1.135 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.4176, allocations: 1.357 MB / 1.137 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.4196, allocations: 1.213 MB / 1.138 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004079/0.42, allocations: 76 kB / 1.138 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003451/0.4235, allocations: 1.388 MB / 1.139 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005542/0.4241, allocations: 346.5 kB / 1.14 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.4256, allocations: 0.8508 MB / 1.14 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002919/0.4286, allocations: 2.078 MB / 1.143 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4286, allocations: 4 kB / 1.143 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4286, allocations: 0 / 1.143 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.525e-05/0.4287, allocations: 0 / 1.143 GB, free: 12.08 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.005193/0.4339, allocations: 2.182 MB / 1.145 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4339, allocations: 15.97 kB / 1.145 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/0.4376, allocations: 0.5527 MB / 1.145 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002868/0.4405, allocations: 1.413 MB / 1.147 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.4407, allocations: 145.4 kB / 1.147 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.441, allocations: 103.9 kB / 1.147 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003142/0.4441, allocations: 1.326 MB / 1.148 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.4441, allocations: 0 / 1.148 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.4443, allocations: 36 kB / 1.148 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/0.4443, allocations: 32 kB / 1.148 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003706/0.448, allocations: 1.335 MB / 1.149 GB, free: 4.77 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.007525/0.4556, allocations: 5.453 MB / 1.155 GB, free: 14.96 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005397/0.461, allocations: 1.338 MB / 1.156 GB, free: 13.6 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.4626, allocations: 0.5964 MB / 1.157 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008758/0.4634, allocations: 1.24 MB / 1.158 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001728/0.4652, allocations: 0.6627 MB / 1.159 GB, free: 10.81 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 2.595e-06/0.4652, allocations: 0 / 1.159 GB, free: 10.81 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.004885/0.4701, allocations: 1.684 MB / 1.16 GB, free: 9.117 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.4701, allocations: 59.97 kB / 1.16 GB, free: 9.047 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.4719, allocations: 1.279 MB / 1.162 GB, free: 7.758 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.472, allocations: 41.7 kB / 1.162 GB, free: 7.711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/0.4725, allocations: 0.6541 MB / 1.162 GB, free: 7.047 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.4728, allocations: 240.6 kB / 1.162 GB, free: 6.809 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/0.4731, allocations: 186.4 kB / 1.163 GB, free: 6.621 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4732, allocations: 337.9 kB / 1.163 GB, free: 6.285 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.4748, allocations: 0.5239 MB / 1.163 GB, free: 5.758 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.4765, allocations: 0.7582 MB / 1.164 GB, free: 4.918 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002955/0.4795, allocations: 1.144 MB / 1.165 GB, free: 3.727 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.4795, allocations: 0 / 1.165 GB, free: 3.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003681/0.4832, allocations: 1.411 MB / 1.167 GB, free: 2.305 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.4832, allocations: 29.7 kB / 1.167 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4833, allocations: 4 kB / 1.167 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.4833, allocations: 11.94 kB / 1.167 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.4845, allocations: 259.7 kB / 1.167 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.4846, allocations: 8 kB / 1.167 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.4862, allocations: 226.9 kB / 1.167 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.4863, allocations: 39.97 kB / 1.167 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001933/0.4882, allocations: 0.7868 MB / 1.168 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001646/0.4899, allocations: 0.7439 MB / 1.169 GB, free: 112 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00292/0.4928, allocations: 1.14 MB / 1.17 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.486e-06/0.4928, allocations: 0 / 1.17 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003606/0.4965, allocations: 1.395 MB / 1.171 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.4965, allocations: 33.7 kB / 1.171 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4965, allocations: 4 kB / 1.171 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.4965, allocations: 8 kB / 1.171 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.4978, allocations: 256 kB / 1.171 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/0.4978, allocations: 15.88 kB / 1.171 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.4994, allocations: 211.2 kB / 1.172 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.4995, allocations: 43.98 kB / 1.172 GB, free: 12.94 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.0003022/0.4999, allocations: 232.1 kB / 1.172 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/0.5002, allocations: 146.2 kB / 1.172 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/0.5039, allocations: 1.462 MB / 1.174 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.504, allocations: 15.92 kB / 1.174 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.504, allocations: 0 / 1.174 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00305/0.507, allocations: 1.222 MB / 1.175 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006413/0.5135, allocations: 3.191 MB / 1.178 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.5135, allocations: 7.984 kB / 1.178 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.5146, allocations: 216.1 kB / 1.178 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.5146, allocations: 8 kB / 1.178 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.5147, allocations: 31.92 kB / 1.178 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.5147, allocations: 11.92 kB / 1.178 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5147, allocations: 8 kB / 1.178 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005202/0.5199, allocations: 2.212 MB / 1.18 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006381/0.5206, allocations: 346.9 kB / 1.181 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/0.5208, allocations: 35.75 kB / 1.181 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.5223, allocations: 163.7 kB / 1.181 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.5225, allocations: 68.41 kB / 1.181 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.291e-05/0.5226, allocations: 43.97 kB / 1.181 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001264/0.5239, allocations: 0.9129 MB / 1.182 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5239, allocations: 4 kB / 1.182 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001958/0.5258, allocations: 0.7876 MB / 1.183 GB, free: 1.531 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.001012/0.5269, allocations: 0.5139 MB / 1.183 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005145/0.532, allocations: 1.988 MB / 1.185 GB, free: 15 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.532, allocations: 8 kB / 1.185 GB, free: 15 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.5338, allocations: 0.664 MB / 1.186 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/0.5374, allocations: 0.7513 MB / 1.186 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006269/0.5437, allocations: 3.43 MB / 1.19 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/0.5444, allocations: 1.226 MB / 1.191 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000502/0.545, allocations: 139.4 kB / 1.191 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of SimCode: time 4.81e-07/0.545, allocations: 0 / 1.191 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of Templates: time 0.03726/0.5822, allocations: 26.76 MB / 1.217 GB, free: 14.12 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches