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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001399/0.001399, allocations: 108.4 kB / 15.99 MB, free: 6.359 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.001447/0.001448, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.481/1.481, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 482.4 MB / 0.755 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 76.64 kB / 0.924 GB, free: 332 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9802/0.9824, allocations: 162.2 MB / 1.082 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07155/1.054, allocations: 60.18 MB / 1.141 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02255/1.077, allocations: 13.13 MB / 1.154 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00407/1.081, allocations: 64.88 kB / 1.154 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003278/1.084, allocations: 0.8417 MB / 1.155 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008113/1.092, allocations: 2.154 MB / 1.157 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005023/1.097, allocations: 1.443 MB / 1.158 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007289/1.105, allocations: 4.35 MB / 1.163 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/1.107, allocations: 1.339 MB / 1.164 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00606/1.113, allocations: 1.758 MB / 1.166 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00325/1.117, allocations: 1.227 MB / 1.167 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005153/1.117, allocations: 142.8 kB / 1.167 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004689/1.122, allocations: 1.486 MB / 1.168 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007194/1.123, allocations: 429.5 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001963/1.125, allocations: 0.9184 MB / 1.17 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004275/1.129, allocations: 2.123 MB / 1.172 GB, free: 388 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/1.129, allocations: 0 / 1.172 GB, free: 388 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.264e-06/1.129, allocations: 1.656 kB / 1.172 GB, free: 388 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.812e-05/1.129, allocations: 0 / 1.172 GB, free: 388 kB / 0.8887 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.005563/1.135, allocations: 2.186 MB / 1.174 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.135, allocations: 9.625 kB / 1.174 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0046/1.139, allocations: 0.6133 MB / 1.175 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003127/1.142, allocations: 1.41 MB / 1.176 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/1.143, allocations: 154 kB / 1.176 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/1.143, allocations: 96.91 kB / 1.176 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003623/1.146, allocations: 1.38 MB / 1.178 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/1.146, allocations: 1.219 kB / 1.178 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/1.147, allocations: 37.38 kB / 1.178 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-05/1.147, allocations: 24.28 kB / 1.178 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004323/1.151, allocations: 1.424 MB / 1.179 GB, free: 11.71 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.009754/1.161, allocations: 5.567 MB / 1.184 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005873/1.167, allocations: 1.387 MB / 1.186 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/1.169, allocations: 0.6348 MB / 1.186 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/1.17, allocations: 1.232 MB / 1.188 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002058/1.172, allocations: 0.69 MB / 1.188 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 3.456e-06/1.172, allocations: 0 / 1.188 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.005801/1.178, allocations: 1.758 MB / 1.19 GB, free: 15.9 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/1.178, allocations: 59.97 kB / 1.19 GB, free: 15.83 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/1.18, allocations: 1.275 MB / 1.191 GB, free: 14.54 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001664/1.18, allocations: 45.7 kB / 1.191 GB, free: 14.49 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007281/1.181, allocations: 0.6503 MB / 1.192 GB, free: 13.83 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/1.181, allocations: 248.4 kB / 1.192 GB, free: 13.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004469/1.182, allocations: 178.4 kB / 1.192 GB, free: 13.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002044/1.182, allocations: 338 kB / 1.193 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/1.184, allocations: 0.5512 MB / 1.193 GB, free: 12.52 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/1.186, allocations: 0.7801 MB / 1.194 GB, free: 11.66 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/1.189, allocations: 1.195 MB / 1.195 GB, free: 10.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.189, allocations: 0 / 1.195 GB, free: 10.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004659/1.194, allocations: 1.45 MB / 1.197 GB, free: 8.953 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/1.194, allocations: 38.02 kB / 1.197 GB, free: 8.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/1.194, allocations: 15.98 kB / 1.197 GB, free: 8.895 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/1.194, allocations: 7.938 kB / 1.197 GB, free: 8.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/1.196, allocations: 263.6 kB / 1.197 GB, free: 8.629 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/1.196, allocations: 11.98 kB / 1.197 GB, free: 8.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/1.198, allocations: 231 kB / 1.197 GB, free: 8.391 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.198, allocations: 43.98 kB / 1.197 GB, free: 8.348 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002372/1.2, allocations: 0.8102 MB / 1.198 GB, free: 7.531 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002046/1.202, allocations: 0.7634 MB / 1.199 GB, free: 6.688 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003437/1.206, allocations: 1.183 MB / 1.2 GB, free: 5.457 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/1.206, allocations: 0 / 1.2 GB, free: 5.457 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004481/1.21, allocations: 1.442 MB / 1.201 GB, free: 4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/1.21, allocations: 37.69 kB / 1.201 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.21, allocations: 4 kB / 1.201 GB, free: 3.953 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/1.21, allocations: 8 kB / 1.201 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/1.212, allocations: 264 kB / 1.202 GB, free: 3.688 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/1.212, allocations: 19.81 kB / 1.202 GB, free: 3.668 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/1.214, allocations: 219.3 kB / 1.202 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.214, allocations: 39.98 kB / 1.202 GB, free: 3.414 MB / 0.92 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.0003836/1.214, allocations: 232.1 kB / 1.202 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003749/1.215, allocations: 146.2 kB / 1.202 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004346/1.219, allocations: 1.505 MB / 1.204 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/1.219, allocations: 11.94 kB / 1.204 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/1.219, allocations: 4 kB / 1.204 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003581/1.223, allocations: 1.269 MB / 1.205 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008034/1.231, allocations: 3.253 MB / 1.208 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.231, allocations: 4 kB / 1.208 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/1.232, allocations: 228.1 kB / 1.208 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/1.232, allocations: 12 kB / 1.208 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.563e-05/1.232, allocations: 35.91 kB / 1.208 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/1.232, allocations: 11.94 kB / 1.208 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.232, allocations: 7.938 kB / 1.208 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006314/1.239, allocations: 2.29 MB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.24, allocations: 354.8 kB / 1.211 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003154/1.24, allocations: 23.94 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/1.242, allocations: 159.9 kB / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/1.242, allocations: 80.36 kB / 1.211 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.242, allocations: 39.95 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001477/1.244, allocations: 0.909 MB / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.71e-07/1.244, allocations: 0 / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002566/1.246, allocations: 0.8031 MB / 1.213 GB, free: 7.75 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.001375/1.248, allocations: 0.5128 MB / 1.213 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006368/1.254, allocations: 2.132 MB / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.254, allocations: 0 / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002067/1.256, allocations: 0.6913 MB / 1.216 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004013/1.26, allocations: 0.7534 MB / 1.217 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007515/1.268, allocations: 3.459 MB / 1.22 GB, free: 112 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009968/1.269, allocations: 1.233 MB / 1.222 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007145/1.269, allocations: 135.4 kB / 1.222 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of SimCode: time 1.212e-06/1.269, allocations: 0 / 1.222 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of Templates: time 0.0478/1.317, allocations: 26.86 MB / 1.248 GB, free: 4.051 MB / 0.9669 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=400 -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