Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_10_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_10_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.001796/0.001796, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001891/0.001892, allocations: 197.2 kB / 16.14 MB, free: 6.016 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.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.884/2.884, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.7777, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07009/0.8478, allocations: 60.25 MB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02791/0.8758, allocations: 13.27 MB / 1.088 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004236/0.8801, allocations: 63.56 kB / 1.088 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004064/0.8842, allocations: 0.8138 MB / 1.089 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008779/0.893, allocations: 2.146 MB / 1.091 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005044/0.8981, allocations: 1.418 MB / 1.093 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008778/0.9069, allocations: 5.566 MB / 1.098 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.9091, allocations: 1.142 MB / 1.099 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.9124, allocations: 1.357 MB / 1.101 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002221/0.9146, allocations: 1.213 MB / 1.102 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002603/0.9149, allocations: 72 kB / 1.102 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004071/0.919, allocations: 1.384 MB / 1.103 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005327/0.9196, allocations: 358.5 kB / 1.104 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.921, allocations: 0.8508 MB / 1.104 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005319/0.9263, allocations: 2.718 MB / 1.107 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9264, allocations: 0 / 1.107 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9264, allocations: 0 / 1.107 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.777e-05/0.9264, allocations: 0 / 1.107 GB, free: 5.855 MB / 0.8575 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.004785/0.9312, allocations: 2.189 MB / 1.109 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.9312, allocations: 12.03 kB / 1.109 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004426/0.9357, allocations: 0.6034 MB / 1.11 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.9385, allocations: 1.417 MB / 1.111 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.9387, allocations: 149.4 kB / 1.111 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.9389, allocations: 104 kB / 1.111 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003461/0.9424, allocations: 1.373 MB / 1.113 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.9424, allocations: 3.938 kB / 1.113 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.9425, allocations: 40 kB / 1.113 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.9426, allocations: 24 kB / 1.113 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004277/0.9469, allocations: 1.425 MB / 1.114 GB, free: 14.35 MB / 0.8731 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.009284/0.9562, allocations: 5.563 MB / 1.12 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005913/0.9621, allocations: 1.385 MB / 1.121 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/0.9639, allocations: 0.6232 MB / 1.122 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.9651, allocations: 1.24 MB / 1.123 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002083/0.9672, allocations: 0.6783 MB / 1.123 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.767e-06/0.9672, allocations: 4 kB / 1.123 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.005745/0.973, allocations: 1.766 MB / 1.125 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.973, allocations: 59.97 kB / 1.125 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.9751, allocations: 1.271 MB / 1.127 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/0.9753, allocations: 45.7 kB / 1.127 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007385/0.976, allocations: 0.6503 MB / 1.127 GB, free: 356 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/0.9763, allocations: 244.5 kB / 1.127 GB, free: 108 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003764/0.9767, allocations: 186.4 kB / 1.128 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9769, allocations: 333.9 kB / 1.128 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.9786, allocations: 0.5512 MB / 1.128 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.9806, allocations: 0.779 MB / 1.129 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/0.984, allocations: 1.187 MB / 1.13 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.984, allocations: 4 kB / 1.13 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004327/0.9883, allocations: 1.454 MB / 1.132 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.9884, allocations: 35.89 kB / 1.132 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.9884, allocations: 4.312 kB / 1.132 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.9884, allocations: 19.92 kB / 1.132 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.9898, allocations: 259.7 kB / 1.132 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.9898, allocations: 11.94 kB / 1.132 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.9917, allocations: 230.9 kB / 1.132 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.9918, allocations: 43.97 kB / 1.132 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002279/0.9941, allocations: 0.8102 MB / 1.133 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001868/0.996, allocations: 0.7691 MB / 1.134 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003269/0.9993, allocations: 1.175 MB / 1.135 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/0.9993, allocations: 0 / 1.135 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004259/1.004, allocations: 1.442 MB / 1.136 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/1.004, allocations: 33.7 kB / 1.137 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/1.004, allocations: 4 kB / 1.137 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/1.004, allocations: 12 kB / 1.137 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/1.005, allocations: 263.9 kB / 1.137 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/1.005, allocations: 15.92 kB / 1.137 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.007, allocations: 219.2 kB / 1.137 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.007, allocations: 43.97 kB / 1.137 GB, free: 5.934 MB / 0.8887 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.0004125/1.008, allocations: 228.1 kB / 1.137 GB, free: 5.703 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003091/1.008, allocations: 142.2 kB / 1.137 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004378/1.012, allocations: 1.508 MB / 1.139 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/1.012, allocations: 11.94 kB / 1.139 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.012, allocations: 4 kB / 1.139 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003428/1.016, allocations: 1.273 MB / 1.14 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007482/1.023, allocations: 3.261 MB / 1.143 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.023, allocations: 4 kB / 1.143 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.025, allocations: 240 kB / 1.144 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2e-05/1.025, allocations: 4 kB / 1.144 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/1.025, allocations: 27.92 kB / 1.144 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.01e-05/1.025, allocations: 11.98 kB / 1.144 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/1.025, allocations: 7.938 kB / 1.144 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006382/1.031, allocations: 2.29 MB / 1.146 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/1.032, allocations: 355 kB / 1.146 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005308/1.033, allocations: 19.94 kB / 1.146 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/1.035, allocations: 175.7 kB / 1.146 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/1.035, allocations: 72.36 kB / 1.146 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/1.035, allocations: 39.97 kB / 1.146 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00204/1.037, allocations: 0.909 MB / 1.147 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.61e-07/1.037, allocations: 0 / 1.147 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003347/1.04, allocations: 0.7993 MB / 1.148 GB, free: 10.26 MB / 0.9044 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.001565/1.042, allocations: 0.5059 MB / 1.149 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006334/1.048, allocations: 2.074 MB / 1.151 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.048, allocations: 0 / 1.151 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002172/1.051, allocations: 0.703 MB / 1.151 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004607/1.055, allocations: 0.7487 MB / 1.152 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007557/1.063, allocations: 3.409 MB / 1.155 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009385/1.064, allocations: 1.238 MB / 1.157 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002129/1.066, allocations: 375.5 kB / 1.157 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004127/1.066, allocations: 131.4 kB / 1.157 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of SimCode: time 1.543e-06/1.066, allocations: 0 / 1.157 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of Templates: time 0.0633/1.13, allocations: 30.31 MB / 1.187 GB, free: 3.039 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches