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.001047/0.001047, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007733/0.007733, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.533/1.533, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.152/3.152, allocations: 462.6 MB / 0.7363 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 8.906 kB / 0.9027 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3693, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05703/0.4263, allocations: 59.13 MB / 1.116 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01981/0.4462, allocations: 13.1 MB / 1.129 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.4489, allocations: 59.62 kB / 1.129 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.4515, allocations: 0.8121 MB / 1.13 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008571/0.4601, allocations: 2.15 MB / 1.132 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005814/0.4659, allocations: 1.42 MB / 1.133 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008575/0.4745, allocations: 5.566 MB / 1.139 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002678/0.4772, allocations: 1.107 MB / 1.14 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003864/0.4811, allocations: 1.318 MB / 1.141 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/0.4836, allocations: 1.17 MB / 1.142 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004763/0.4841, allocations: 64 kB / 1.142 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003849/0.4879, allocations: 1.368 MB / 1.144 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006941/0.4887, allocations: 338.4 kB / 1.144 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001755/0.4904, allocations: 0.837 MB / 1.145 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005114/0.4956, allocations: 2.659 MB / 1.148 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4956, allocations: 0 / 1.148 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4956, allocations: 0 / 1.148 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.96e-05/0.4957, allocations: 0 / 1.148 GB, free: 9.602 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.004336/0.5, allocations: 1.882 MB / 1.149 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.5001, allocations: 15.97 kB / 1.149 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/0.504, allocations: 0.5839 MB / 1.15 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/0.5073, allocations: 1.406 MB / 1.151 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.5076, allocations: 157.2 kB / 1.152 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003044/0.5079, allocations: 99.94 kB / 1.152 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/0.5114, allocations: 1.358 MB / 1.153 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.5115, allocations: 0 / 1.153 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.5116, allocations: 40 kB / 1.153 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.5116, allocations: 27.98 kB / 1.153 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004054/0.5157, allocations: 1.397 MB / 1.154 GB, free: 2.473 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.009097/0.5248, allocations: 5.473 MB / 1.16 GB, free: 12.64 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005608/0.5305, allocations: 1.412 MB / 1.161 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.5323, allocations: 0.6432 MB / 1.162 GB, free: 10.56 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.5335, allocations: 1.24 MB / 1.163 GB, free: 9.043 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002028/0.5355, allocations: 0.69 MB / 1.164 GB, free: 8.344 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 3.726e-06/0.5355, allocations: 0 / 1.164 GB, free: 8.344 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.005477/0.541, allocations: 1.789 MB / 1.165 GB, free: 6.547 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.5411, allocations: 63.95 kB / 1.165 GB, free: 6.473 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.5434, allocations: 1.271 MB / 1.167 GB, free: 5.191 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001564/0.5436, allocations: 45.7 kB / 1.167 GB, free: 5.141 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007855/0.5444, allocations: 0.658 MB / 1.167 GB, free: 4.473 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.5447, allocations: 236.6 kB / 1.168 GB, free: 4.238 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.5449, allocations: 73.67 kB / 1.168 GB, free: 4.16 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.545, allocations: 338 kB / 1.168 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.5467, allocations: 0.5524 MB / 1.168 GB, free: 3.273 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.5486, allocations: 0.7891 MB / 1.169 GB, free: 2.398 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/0.5519, allocations: 1.214 MB / 1.17 GB, free: 1.141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.5519, allocations: 4 kB / 1.17 GB, free: 1.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00423/0.5562, allocations: 1.474 MB / 1.172 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.5564, allocations: 218 kB / 1.172 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5564, allocations: 4 kB / 1.172 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.5564, allocations: 8 kB / 1.172 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.5578, allocations: 279.5 kB / 1.172 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.511e-05/0.5579, allocations: 8 kB / 1.172 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.5598, allocations: 243 kB / 1.173 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.5599, allocations: 39.97 kB / 1.173 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.5599, allocations: 4 kB / 1.173 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003651/0.5636, allocations: 1.317 MB / 1.174 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.5636, allocations: 8.031 kB / 1.174 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.5636, allocations: 8 kB / 1.174 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.5649, allocations: 267.6 kB / 1.174 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.5649, allocations: 8 kB / 1.174 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.5667, allocations: 247 kB / 1.174 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.5669, allocations: 39.98 kB / 1.174 GB, free: 12.92 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.0008384/0.5677, allocations: 416.8 kB / 1.175 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003991/0.5681, allocations: 146.2 kB / 1.175 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/0.5723, allocations: 1.528 MB / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.5724, allocations: 8 kB / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.5724, allocations: 3.938 kB / 1.177 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003344/0.5757, allocations: 1.289 MB / 1.178 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007504/0.5833, allocations: 3.269 MB / 1.181 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.5833, allocations: 4.562 kB / 1.181 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.5845, allocations: 239.7 kB / 1.181 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/0.5845, allocations: 4 kB / 1.181 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/0.5846, allocations: 27.98 kB / 1.181 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.746e-05/0.5846, allocations: 23.81 kB / 1.181 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.5847, allocations: 4 kB / 1.181 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006037/0.5907, allocations: 2.317 MB / 1.184 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.5919, allocations: 370.9 kB / 1.184 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/0.5923, allocations: 20 kB / 1.184 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/0.5942, allocations: 183.7 kB / 1.184 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.5944, allocations: 72.3 kB / 1.184 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.5945, allocations: 43.97 kB / 1.184 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001844/0.5964, allocations: 0.909 MB / 1.185 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5964, allocations: 0 / 1.185 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003344/0.5997, allocations: 0.7992 MB / 1.186 GB, free: 0.9453 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.001494/0.6012, allocations: 0.5162 MB / 1.186 GB, free: 448 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006143/0.6074, allocations: 2.097 MB / 1.188 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.6074, allocations: 192 / 1.188 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.6096, allocations: 0.7184 MB / 1.189 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005735/0.6154, allocations: 0.7651 MB / 1.19 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/0.6236, allocations: 3.466 MB / 1.193 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.6248, allocations: 1.238 MB / 1.194 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002442/0.6272, allocations: 367.5 kB / 1.195 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006888/0.6279, allocations: 123.4 kB / 1.195 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of SimCode: time 1.603e-06/0.628, allocations: 0 / 1.195 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of Templates: time 0.07363/0.7016, allocations: 30.83 MB / 1.225 GB, free: 9.078 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches