Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.277/2.277, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001154/0.001154, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.743/1.743, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0008974/0.0008974, allocations: 84.03 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.463e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2522, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.402, allocations: 431.7 MB / 1.64 GB, free: 2.805 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/1.403, allocations: 88.61 kB / 1.64 GB, free: 2.719 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 2.746/4.149, allocations: 0.6382 GB / 2.279 GB, free: 243.4 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.944e-06/4.149, allocations: 0 / 2.279 GB, free: 243.4 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001578/4.149, allocations: 48.56 kB / 2.279 GB, free: 243.4 MB / 1.135 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.004115/4.153, allocations: 1.781 MB / 2.28 GB, free: 242.2 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/4.153, allocations: 11.31 kB / 2.28 GB, free: 242.2 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003648/4.157, allocations: 0.577 MB / 2.281 GB, free: 242 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/4.161, allocations: 1.666 MB / 2.283 GB, free: 240.9 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/4.161, allocations: 152.7 kB / 2.283 GB, free: 240.8 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/4.161, allocations: 109 kB / 2.283 GB, free: 240.7 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/4.163, allocations: 1.155 MB / 2.284 GB, free: 240 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/4.163, allocations: 3.938 kB / 2.284 GB, free: 240 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/4.163, allocations: 35.59 kB / 2.284 GB, free: 240 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/4.163, allocations: 36.56 kB / 2.284 GB, free: 240 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/4.165, allocations: 1.022 MB / 2.285 GB, free: 239.5 MB / 1.135 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.006605/4.171, allocations: 5.574 MB / 2.29 GB, free: 234.9 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/4.172, allocations: 0.7258 MB / 2.291 GB, free: 234.6 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/4.173, allocations: 481.5 kB / 2.292 GB, free: 234.4 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007154/4.174, allocations: 1.159 MB / 2.293 GB, free: 233 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007873/4.175, allocations: 0.5764 MB / 2.293 GB, free: 232.7 MB / 1.135 GB Notification: Performance of pre-optimization done (n=68): time 2.705e-06/4.175, allocations: 1.875 kB / 2.293 GB, free: 232.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=68): time 0.009068/4.184, allocations: 1.73 MB / 2.295 GB, free: 231.9 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/4.184, allocations: 115.1 kB / 2.295 GB, free: 231.8 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/4.186, allocations: 1.188 MB / 2.296 GB, free: 231.2 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0002432/4.186, allocations: 48.86 kB / 2.296 GB, free: 231.1 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.000496/4.186, allocations: 0.6931 MB / 2.297 GB, free: 230.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/4.187, allocations: 236.5 kB / 2.297 GB, free: 230.3 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/4.187, allocations: 11.88 kB / 2.297 GB, free: 230.3 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.928e-05/4.187, allocations: 333.7 kB / 2.298 GB, free: 230 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/4.187, allocations: 385.1 kB / 2.298 GB, free: 229.8 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/4.188, allocations: 0.618 MB / 2.299 GB, free: 229.3 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000573/4.189, allocations: 421.4 kB / 2.299 GB, free: 229.1 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/4.189, allocations: 3.812 kB / 2.299 GB, free: 229.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.008559/4.197, allocations: 1.781 MB / 2.301 GB, free: 228.3 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003112/4.198, allocations: 1.202 MB / 2.302 GB, free: 227 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/4.198, allocations: 0 / 2.302 GB, free: 227 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000907/4.198, allocations: 0.5305 MB / 2.302 GB, free: 226.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008333/4.199, allocations: 186.5 kB / 2.303 GB, free: 226.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/4.202, allocations: 0.9939 MB / 2.304 GB, free: 226 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/4.204, allocations: 226.8 kB / 2.304 GB, free: 225.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/4.204, allocations: 50 kB / 2.304 GB, free: 225.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/4.204, allocations: 12.14 kB / 2.304 GB, free: 225.9 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008224/4.212, allocations: 1.618 MB / 2.305 GB, free: 225.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/4.212, allocations: 3.844 kB / 2.305 GB, free: 225.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009016/4.213, allocations: 0.5282 MB / 2.306 GB, free: 225 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008968/4.214, allocations: 192.1 kB / 2.306 GB, free: 224.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/4.216, allocations: 0.9952 MB / 2.307 GB, free: 224.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/4.219, allocations: 227.5 kB / 2.307 GB, free: 224.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/4.219, allocations: 49.41 kB / 2.307 GB, free: 224.1 MB / 1.135 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.0004184/4.219, allocations: 147 kB / 2.307 GB, free: 224 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/4.22, allocations: 156.3 kB / 2.308 GB, free: 223.9 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009634/4.229, allocations: 1.96 MB / 2.309 GB, free: 222.9 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.567e-05/4.23, allocations: 7.844 kB / 2.31 GB, free: 222.9 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/4.23, allocations: 0 / 2.31 GB, free: 222.9 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008679/4.238, allocations: 1.757 MB / 2.311 GB, free: 222.1 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005595/4.244, allocations: 3.362 MB / 2.315 GB, free: 219.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/4.244, allocations: 3.938 kB / 2.315 GB, free: 219.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006198/4.245, allocations: 161.7 kB / 2.315 GB, free: 219.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008103/4.245, allocations: 0.524 MB / 2.315 GB, free: 219.4 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.869e-05/4.245, allocations: 30.94 kB / 2.315 GB, free: 219.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003066/4.249, allocations: 1.128 MB / 2.316 GB, free: 218.6 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/4.249, allocations: 3.875 kB / 2.316 GB, free: 218.6 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/4.251, allocations: 2.29 MB / 2.319 GB, free: 216.9 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009575/4.252, allocations: 0.4915 MB / 2.319 GB, free: 216.5 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/4.253, allocations: 15.53 kB / 2.319 GB, free: 216.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/4.254, allocations: 175.8 kB / 2.319 GB, free: 216.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/4.254, allocations: 76.33 kB / 2.319 GB, free: 216.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/4.254, allocations: 59.05 kB / 2.319 GB, free: 216.4 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.00134/4.256, allocations: 0.9537 MB / 2.32 GB, free: 215.9 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.51e-07/4.256, allocations: 0 / 2.32 GB, free: 215.9 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002335/4.258, allocations: 0.8781 MB / 2.321 GB, free: 215.7 MB / 1.135 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.001427/4.26, allocations: 0.8211 MB / 2.322 GB, free: 215.4 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.004967/4.265, allocations: 1.755 MB / 2.324 GB, free: 214.6 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/4.265, allocations: 0 / 2.324 GB, free: 214.6 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.003341/4.268, allocations: 0.7862 MB / 2.324 GB, free: 214.3 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004996/4.273, allocations: 0.7593 MB / 2.325 GB, free: 214 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005391/4.278, allocations: 2.273 MB / 2.327 GB, free: 212.8 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/4.279, allocations: 1.285 MB / 2.329 GB, free: 211.5 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.002681/4.282, allocations: 471.3 kB / 2.329 GB, free: 211.1 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/4.282, allocations: 95.34 kB / 2.329 GB, free: 211 MB / 1.135 GB Notification: Performance of SimCode: time 1.884e-06/4.282, allocations: 0 / 2.329 GB, free: 211 MB / 1.135 GB Notification: Performance of Templates: time 0.05896/4.341, allocations: 41.75 MB / 2.37 GB, free: 170.4 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches