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.0008663/0.0008664, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009643/0.0009645, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.421/1.421, 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 11.0.0-master/package.mo): time 2.807/2.807, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 12.53 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4099, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06267/0.4727, allocations: 59.13 MB / 1.117 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02119/0.4939, allocations: 13.11 MB / 1.13 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003343/0.4973, allocations: 63.56 kB / 1.13 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002989/0.5003, allocations: 0.8082 MB / 1.131 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008242/0.5086, allocations: 2.153 MB / 1.133 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004994/0.5136, allocations: 1.422 MB / 1.134 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008394/0.522, allocations: 5.562 MB / 1.14 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.5243, allocations: 1.103 MB / 1.141 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.5277, allocations: 1.318 MB / 1.142 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.5299, allocations: 1.174 MB / 1.143 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.5301, allocations: 60 kB / 1.143 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.5336, allocations: 1.368 MB / 1.145 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004435/0.534, allocations: 338.4 kB / 1.145 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.5352, allocations: 0.837 MB / 1.146 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002969/0.5382, allocations: 2.038 MB / 1.148 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5382, allocations: 0 / 1.148 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5383, allocations: 4 kB / 1.148 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.158e-05/0.5383, allocations: 0 / 1.148 GB, free: 10.2 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.003681/0.542, allocations: 1.886 MB / 1.15 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.542, allocations: 15.97 kB / 1.15 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/0.5457, allocations: 0.58 MB / 1.15 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.5482, allocations: 1.41 MB / 1.151 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.5484, allocations: 149.3 kB / 1.152 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.5486, allocations: 100 kB / 1.152 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.5517, allocations: 1.358 MB / 1.153 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.5518, allocations: 3.938 kB / 1.153 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.5519, allocations: 36 kB / 1.153 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.552, allocations: 28 kB / 1.153 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/0.5558, allocations: 1.397 MB / 1.154 GB, free: 3.078 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.00775/0.5635, allocations: 5.469 MB / 1.16 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005712/0.5693, allocations: 1.422 MB / 1.161 GB, free: 11.81 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/0.5711, allocations: 0.6393 MB / 1.162 GB, free: 11.16 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009554/0.572, allocations: 1.243 MB / 1.163 GB, free: 9.645 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001891/0.574, allocations: 0.6978 MB / 1.164 GB, free: 8.938 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 3.567e-06/0.574, allocations: 0 / 1.164 GB, free: 8.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.005365/0.5793, allocations: 1.789 MB / 1.165 GB, free: 7.141 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.5794, allocations: 59.97 kB / 1.166 GB, free: 7.07 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.5811, allocations: 1.275 MB / 1.167 GB, free: 5.785 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.5813, allocations: 41.7 kB / 1.167 GB, free: 5.738 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005943/0.5819, allocations: 0.658 MB / 1.167 GB, free: 5.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.5821, allocations: 244.6 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.5823, allocations: 69.67 kB / 1.168 GB, free: 4.754 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5824, allocations: 334 kB / 1.168 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.5841, allocations: 0.5524 MB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.5859, allocations: 0.7879 MB / 1.169 GB, free: 2.996 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/0.5892, allocations: 1.21 MB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.5893, allocations: 4 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004102/0.5934, allocations: 1.481 MB / 1.172 GB, free: 248 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.5935, allocations: 213.4 kB / 1.172 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.5936, allocations: 4 kB / 1.172 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.5936, allocations: 12 kB / 1.172 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.595, allocations: 271.6 kB / 1.172 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.595, allocations: 4 kB / 1.172 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.5968, allocations: 247 kB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.597, allocations: 43.97 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.597, allocations: 4 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00376/0.6007, allocations: 1.317 MB / 1.174 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6008, allocations: 0 / 1.174 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.6008, allocations: 8 kB / 1.174 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.6021, allocations: 275.7 kB / 1.174 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.6021, allocations: 7.984 kB / 1.174 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.6041, allocations: 239 kB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.6042, allocations: 35.98 kB / 1.175 GB, free: 13.53 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.0008361/0.6051, allocations: 416.9 kB / 1.175 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004796/0.6055, allocations: 142.2 kB / 1.175 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/0.61, allocations: 1.54 MB / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.6101, allocations: 8 kB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.6101, allocations: 3.938 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003611/0.6137, allocations: 1.296 MB / 1.178 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007809/0.6215, allocations: 3.269 MB / 1.181 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.6216, allocations: 4.062 kB / 1.181 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.6228, allocations: 239.7 kB / 1.181 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/0.6228, allocations: 8 kB / 1.181 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-05/0.6229, allocations: 27.98 kB / 1.181 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.6229, allocations: 7.938 kB / 1.181 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.6229, allocations: 15.92 kB / 1.181 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005937/0.6289, allocations: 2.317 MB / 1.184 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007872/0.6297, allocations: 370.8 kB / 1.184 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/0.63, allocations: 23.98 kB / 1.184 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/0.6317, allocations: 179.7 kB / 1.184 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.6319, allocations: 80.28 kB / 1.184 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.632, allocations: 35.97 kB / 1.184 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001669/0.6337, allocations: 0.9129 MB / 1.185 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6337, allocations: 4 kB / 1.185 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00246/0.6362, allocations: 0.7914 MB / 1.186 GB, free: 1.539 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.001238/0.6374, allocations: 0.5012 MB / 1.186 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006018/0.6435, allocations: 2.101 MB / 1.189 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6435, allocations: 4.062 kB / 1.189 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.6456, allocations: 0.6912 MB / 1.189 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005256/0.6508, allocations: 0.7729 MB / 1.19 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007743/0.6586, allocations: 3.506 MB / 1.193 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.6598, allocations: 1.234 MB / 1.195 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006255/0.6604, allocations: 143.3 kB / 1.195 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/0.6604, allocations: 0 / 1.195 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of Templates: time 0.05341/0.7138, allocations: 26.55 MB / 1.221 GB, free: 14.11 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