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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001715/0.001715, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002006/0.002006, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.431/1.431, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.506/2.506, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7167/0.718, allocations: 140.4 MB / 0.9491 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0596/0.7777, allocations: 59.97 MB / 1.008 GB, free: 5.895 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02139/0.7991, allocations: 13.07 MB / 1.02 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/0.8029, allocations: 63.56 kB / 1.02 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003087/0.806, allocations: 0.8334 MB / 1.021 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007927/0.8141, allocations: 2.156 MB / 1.023 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004837/0.8189, allocations: 1.416 MB / 1.025 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007783/0.8267, allocations: 4.306 MB / 1.029 GB, free: 4 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002639/0.8294, allocations: 1.317 MB / 1.03 GB, free: 14.66 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005419/0.8348, allocations: 1.591 MB / 1.032 GB, free: 13.06 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.8371, allocations: 1.233 MB / 1.033 GB, free: 11.82 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002954/0.8374, allocations: 140 kB / 1.033 GB, free: 11.69 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00393/0.8413, allocations: 1.454 MB / 1.035 GB, free: 10.23 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004835/0.8418, allocations: 422.4 kB / 1.035 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.8431, allocations: 0.9057 MB / 1.036 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005186/0.8483, allocations: 2.734 MB / 1.039 GB, free: 6.164 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8483, allocations: 0 / 1.039 GB, free: 6.164 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.514e-06/0.8483, allocations: 0 / 1.039 GB, free: 6.164 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.03e-05/0.8484, allocations: 0 / 1.039 GB, free: 6.164 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.004322/0.8527, allocations: 2.17 MB / 1.041 GB, free: 3.926 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.8528, allocations: 8.031 kB / 1.041 GB, free: 3.918 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003796/0.8566, allocations: 0.6034 MB / 1.041 GB, free: 3.312 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.8593, allocations: 1.388 MB / 1.043 GB, free: 1.871 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.8595, allocations: 145.4 kB / 1.043 GB, free: 1.719 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.8597, allocations: 104 kB / 1.043 GB, free: 1.617 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/0.8629, allocations: 1.303 MB / 1.044 GB, free: 284 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.863, allocations: 0 / 1.044 GB, free: 284 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.8631, allocations: 36 kB / 1.044 GB, free: 248 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/0.8631, allocations: 27.98 kB / 1.044 GB, free: 220 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/0.8668, allocations: 1.311 MB / 1.045 GB, free: 14.9 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.007552/0.8744, allocations: 5.35 MB / 1.051 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005798/0.8802, allocations: 1.397 MB / 1.052 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.8818, allocations: 0.6009 MB / 1.053 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.8829, allocations: 1.24 MB / 1.054 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001919/0.8848, allocations: 0.651 MB / 1.054 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 4.018e-06/0.8848, allocations: 0 / 1.054 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.005563/0.8904, allocations: 1.676 MB / 1.056 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.8905, allocations: 67.97 kB / 1.056 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.8925, allocations: 1.267 MB / 1.057 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.8926, allocations: 45.7 kB / 1.057 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006383/0.8932, allocations: 0.6463 MB / 1.058 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.8935, allocations: 236.6 kB / 1.058 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.8939, allocations: 178.4 kB / 1.058 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.894, allocations: 334 kB / 1.059 GB, free: 492 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.8957, allocations: 0.5239 MB / 1.059 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.8974, allocations: 0.7391 MB / 1.06 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.9005, allocations: 1.139 MB / 1.061 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.9006, allocations: 4 kB / 1.061 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004119/0.9047, allocations: 1.391 MB / 1.063 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/0.9048, allocations: 33.7 kB / 1.063 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.9048, allocations: 0 / 1.063 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.9048, allocations: 11.94 kB / 1.063 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.9061, allocations: 259.9 kB / 1.063 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.9062, allocations: 7.984 kB / 1.063 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.9084, allocations: 222.9 kB / 1.063 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.9086, allocations: 39.98 kB / 1.063 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002093/0.9107, allocations: 0.779 MB / 1.064 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001731/0.9124, allocations: 0.7352 MB / 1.065 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003062/0.9155, allocations: 1.12 MB / 1.066 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.9155, allocations: 0 / 1.066 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.004111/0.9196, allocations: 1.384 MB / 1.067 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.9197, allocations: 33.69 kB / 1.067 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.9197, allocations: 8.25 kB / 1.067 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.9197, allocations: 12 kB / 1.067 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.921, allocations: 251.5 kB / 1.067 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.921, allocations: 4 kB / 1.067 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.9229, allocations: 219.2 kB / 1.068 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/0.923, allocations: 35.98 kB / 1.068 GB, free: 7.25 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.0004304/0.9235, allocations: 236 kB / 1.068 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.9238, allocations: 142.2 kB / 1.068 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/0.9278, allocations: 1.458 MB / 1.069 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.9278, allocations: 8 kB / 1.069 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.9279, allocations: 0 / 1.069 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003366/0.9312, allocations: 1.218 MB / 1.071 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007393/0.9386, allocations: 3.171 MB / 1.074 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.9387, allocations: 4 kB / 1.074 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.94, allocations: 228.2 kB / 1.074 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/0.94, allocations: 11.94 kB / 1.074 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/0.9401, allocations: 27.97 kB / 1.074 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.9401, allocations: 8 kB / 1.074 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.9401, allocations: 7.938 kB / 1.074 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00564/0.9457, allocations: 2.196 MB / 1.076 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.947, allocations: 346.9 kB / 1.076 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.9473, allocations: 19.94 kB / 1.076 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.9488, allocations: 171.7 kB / 1.077 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.9489, allocations: 68.36 kB / 1.077 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.685e-05/0.949, allocations: 39.97 kB / 1.077 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001589/0.9506, allocations: 0.9126 MB / 1.078 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9506, allocations: 0 / 1.078 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002602/0.9533, allocations: 0.7836 MB / 1.078 GB, free: 11.9 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.001288/0.9546, allocations: 0.511 MB / 1.079 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005723/0.9603, allocations: 2.046 MB / 1.081 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.9603, allocations: 0 / 1.081 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.9622, allocations: 0.6756 MB / 1.081 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/0.9658, allocations: 0.756 MB / 1.082 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/0.9709, allocations: 3.184 MB / 1.085 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008274/0.9718, allocations: 1.237 MB / 1.087 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001887/0.9737, allocations: 367.3 kB / 1.087 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.9741, allocations: 127.4 kB / 1.087 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of SimCode: time 1.362e-06/0.9741, allocations: 4 kB / 1.087 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of Templates: time 0.05621/1.03, allocations: 30.88 MB / 1.117 GB, free: 4.422 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches