Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_9_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.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_9_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.000917/0.000917, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 185.5 kB / 16.92 MB, free: 6.703 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.000449, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7833/0.7838, allocations: 142.4 MB / 0.9557 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05688/0.8407, allocations: 59 MB / 1.013 GB, free: 4.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02153/0.8623, allocations: 13.08 MB / 1.026 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003763/0.8661, allocations: 59.62 kB / 1.026 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.8694, allocations: 0.806 MB / 1.027 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007947/0.8774, allocations: 2.14 MB / 1.029 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004721/0.8821, allocations: 1.392 MB / 1.03 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008481/0.8906, allocations: 5.527 MB / 1.036 GB, free: 13.18 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002935/0.8936, allocations: 1.092 MB / 1.037 GB, free: 12.05 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.8977, allocations: 1.334 MB / 1.038 GB, free: 10.71 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002886/0.9007, allocations: 1.159 MB / 1.039 GB, free: 9.551 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005195/0.9012, allocations: 60 kB / 1.039 GB, free: 9.492 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004578/0.9058, allocations: 1.337 MB / 1.041 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008919/0.9067, allocations: 322.5 kB / 1.041 GB, free: 7.836 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002549/0.9093, allocations: 0.8331 MB / 1.042 GB, free: 6.992 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004239/0.9136, allocations: 2.018 MB / 1.044 GB, free: 4.969 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.9136, allocations: 4 kB / 1.044 GB, free: 4.965 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9136, allocations: 0 / 1.044 GB, free: 4.965 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.804e-05/0.9137, allocations: 0 / 1.044 GB, free: 4.965 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004905/0.9186, allocations: 1.872 MB / 1.046 GB, free: 3.031 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.9187, allocations: 12.03 kB / 1.046 GB, free: 3.02 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003914/0.9226, allocations: 0.6386 MB / 1.046 GB, free: 2.379 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.926, allocations: 1.384 MB / 1.048 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.9262, allocations: 145.4 kB / 1.048 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.9264, allocations: 100 kB / 1.048 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00401/0.9304, allocations: 1.342 MB / 1.049 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/0.9305, allocations: 3.938 kB / 1.049 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.9306, allocations: 44 kB / 1.049 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.9307, allocations: 28 kB / 1.049 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004437/0.9352, allocations: 1.378 MB / 1.051 GB, free: 13.86 MB / 0.8106 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.00853/0.9437, allocations: 5.362 MB / 1.056 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006175/0.9499, allocations: 1.485 MB / 1.057 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.9521, allocations: 0.6276 MB / 1.058 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.9534, allocations: 1.235 MB / 1.059 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001978/0.9554, allocations: 0.6901 MB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 3.537e-06/0.9554, allocations: 0 / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.005681/0.9611, allocations: 1.781 MB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.9611, allocations: 63.95 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.9631, allocations: 1.263 MB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.9632, allocations: 53.64 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000678/0.9639, allocations: 0.6542 MB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.9642, allocations: 236.5 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.9644, allocations: 73.67 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.9645, allocations: 334 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.9662, allocations: 0.5524 MB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.9681, allocations: 0.7704 MB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/0.9714, allocations: 1.206 MB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.9714, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004181/0.9756, allocations: 1.458 MB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.9758, allocations: 207.2 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.9758, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.9758, allocations: 8 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.9771, allocations: 275.6 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.9772, allocations: 8 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.979, allocations: 239 kB / 1.069 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.803e-05/0.9791, allocations: 43.97 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.9791, allocations: 5.406 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003743/0.9829, allocations: 1.302 MB / 1.07 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.9829, allocations: 8.031 kB / 1.07 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.9829, allocations: 11.98 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.9842, allocations: 263.6 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.9842, allocations: 8 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.986, allocations: 235.1 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.927e-05/0.9862, allocations: 43.97 kB / 1.07 GB, free: 8.457 MB / 0.8262 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 (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 (95): * Single equations (assignments): 94 * 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.0009059/0.9871, allocations: 404.8 kB / 1.071 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.9874, allocations: 146.2 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/0.9914, allocations: 1.52 MB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.9915, allocations: 8 kB / 1.073 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.9915, allocations: 3.938 kB / 1.073 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003439/0.9949, allocations: 1.292 MB / 1.074 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007162/1.002, allocations: 3.245 MB / 1.077 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.002, allocations: 4 kB / 1.077 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/1.003, allocations: 236.2 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/1.003, allocations: 8 kB / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.458e-05/1.003, allocations: 23.98 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.495e-05/1.003, allocations: 23.86 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.003, allocations: 4 kB / 1.077 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006053/1.01, allocations: 2.302 MB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009796/1.011, allocations: 370.8 kB / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/1.011, allocations: 24.06 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/1.012, allocations: 191.5 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/1.013, allocations: 72.36 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.932e-05/1.013, allocations: 35.97 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001387/1.014, allocations: 0.9048 MB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/1.014, allocations: 0 / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00221/1.016, allocations: 0.7837 MB / 1.082 GB, free: 12.56 MB / 0.8419 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 (73): * Single equations (assignments): 65 * 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.001124/1.017, allocations: 0.51 MB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005818/1.023, allocations: 2.078 MB / 1.084 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.023, allocations: 0 / 1.084 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/1.025, allocations: 0.6991 MB / 1.085 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004901/1.03, allocations: 0.767 MB / 1.086 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00584/1.036, allocations: 3.303 MB / 1.089 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008302/1.037, allocations: 1.23 MB / 1.09 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/1.037, allocations: 135.4 kB / 1.09 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of SimCode: time 9.11e-07/1.037, allocations: 0 / 1.09 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of Templates: time 0.04255/1.08, allocations: 26.4 MB / 1.116 GB, free: 9.512 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches