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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.392/2.392, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 185.8 kB / 491.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.5 MB / 0.7868 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 91.58 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.871e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2926, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.215/1.508, allocations: 430.9 MB / 1.633 GB, free: 192 kB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/1.508, allocations: 92.75 kB / 1.633 GB, free: 144 kB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.954/4.462, allocations: 0.634 GB / 2.267 GB, free: 246.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.644e-06/4.462, allocations: 3.797 kB / 2.267 GB, free: 246.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001604/4.462, allocations: 45.33 kB / 2.267 GB, free: 246.7 MB / 1.151 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.003955/4.466, allocations: 1.758 MB / 2.269 GB, free: 246 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/4.466, allocations: 7.875 kB / 2.269 GB, free: 246 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003485/4.47, allocations: 0.5727 MB / 2.27 GB, free: 245.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/4.474, allocations: 1.655 MB / 2.271 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/4.474, allocations: 109.2 kB / 2.271 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/4.474, allocations: 59.44 kB / 2.271 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001657/4.476, allocations: 0.9617 MB / 2.272 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/4.477, allocations: 1.018 MB / 2.273 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/4.477, allocations: 0.6875 kB / 2.273 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.411e-05/4.477, allocations: 0 / 2.273 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/4.477, allocations: 35.48 kB / 2.273 GB, free: 245.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.007507/4.485, allocations: 5.33 MB / 2.278 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004226/4.489, allocations: 1.09 MB / 2.28 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000643/4.49, allocations: 458.6 kB / 2.28 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007647/4.491, allocations: 1.158 MB / 2.281 GB, free: 241.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007733/4.491, allocations: 0.5413 MB / 2.282 GB, free: 241.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 3.216e-06/4.491, allocations: 0 / 2.282 GB, free: 241.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.00945/4.501, allocations: 1.7 MB / 2.283 GB, free: 241.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/4.501, allocations: 117.9 kB / 2.283 GB, free: 241.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/4.503, allocations: 1.006 MB / 2.284 GB, free: 241.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002969/4.503, allocations: 28.92 kB / 2.284 GB, free: 241.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005818/4.504, allocations: 0.6818 MB / 2.285 GB, free: 241 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/4.504, allocations: 220.2 kB / 2.285 GB, free: 240.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/4.504, allocations: 0 / 2.285 GB, free: 240.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/4.504, allocations: 331.4 kB / 2.286 GB, free: 240.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/4.505, allocations: 358.6 kB / 2.286 GB, free: 240.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006378/4.505, allocations: 0.5981 MB / 2.287 GB, free: 240.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/4.506, allocations: 414.6 kB / 2.287 GB, free: 240.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/4.506, allocations: 0 / 2.287 GB, free: 240.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.009288/4.516, allocations: 1.817 MB / 2.289 GB, free: 240.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003587/4.516, allocations: 1.191 MB / 2.29 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/4.516, allocations: 3.219 kB / 2.29 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008387/4.517, allocations: 0.4886 MB / 2.29 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008765/4.518, allocations: 193.1 kB / 2.291 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/4.529, allocations: 3.291 MB / 2.294 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/4.532, allocations: 198.8 kB / 2.294 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/4.532, allocations: 53.22 kB / 2.294 GB, free: 237.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/4.532, allocations: 3.906 kB / 2.294 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008928/4.541, allocations: 1.643 MB / 2.296 GB, free: 237.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/4.541, allocations: 3.938 kB / 2.296 GB, free: 237.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007373/4.542, allocations: 497 kB / 2.296 GB, free: 237.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008543/4.542, allocations: 186.5 kB / 2.296 GB, free: 237.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/4.554, allocations: 3.293 MB / 2.299 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/4.556, allocations: 205.9 kB / 2.3 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/4.556, allocations: 43.95 kB / 2.3 GB, free: 236.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003585/4.557, allocations: 128.4 kB / 2.3 GB, free: 236.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/4.557, allocations: 135.8 kB / 2.3 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009305/4.566, allocations: 1.875 MB / 2.302 GB, free: 236.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-05/4.566, allocations: 11.62 kB / 2.302 GB, free: 236.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/4.566, allocations: 3.812 kB / 2.302 GB, free: 236.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008962/4.575, allocations: 1.72 MB / 2.303 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/4.588, allocations: 3.808 MB / 2.307 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/4.588, allocations: 10.12 kB / 2.307 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/4.589, allocations: 152.6 kB / 2.307 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007695/4.589, allocations: 0.494 MB / 2.308 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.074e-05/4.59, allocations: 19.84 kB / 2.308 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/4.602, allocations: 3.401 MB / 2.311 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/4.602, allocations: 5.562 kB / 2.311 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/4.613, allocations: 2.845 MB / 2.314 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/4.614, allocations: 476.7 kB / 2.314 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/4.614, allocations: 11 kB / 2.314 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/4.616, allocations: 148 kB / 2.315 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/4.616, allocations: 79.66 kB / 2.315 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/4.616, allocations: 46.3 kB / 2.315 GB, free: 232.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001209/4.617, allocations: 0.7662 MB / 2.315 GB, free: 232.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/4.617, allocations: 0 / 2.315 GB, free: 232.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003087/4.62, allocations: 0.9404 MB / 2.316 GB, free: 232.5 MB / 1.151 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00164/4.622, allocations: 0.8135 MB / 2.317 GB, free: 232.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005162/4.627, allocations: 1.908 MB / 2.319 GB, free: 232 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/4.627, allocations: 6.219 kB / 2.319 GB, free: 232 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003207/4.63, allocations: 0.8753 MB / 2.32 GB, free: 231.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/4.634, allocations: 0.6344 MB / 2.321 GB, free: 231.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/4.639, allocations: 2.162 MB / 2.323 GB, free: 231.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/4.64, allocations: 1.275 MB / 2.324 GB, free: 230.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002106/4.642, allocations: 423.3 kB / 2.324 GB, free: 230.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/4.642, allocations: 84.31 kB / 2.324 GB, free: 230.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.543e-06/4.642, allocations: 0 / 2.324 GB, free: 230.4 MB / 1.151 GB Notification: Performance of Templates: time 0.07441/4.717, allocations: 41.54 MB / 2.365 GB, free: 228.3 MB / 1.151 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","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches