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.01032/0.01032, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.002461/0.002461, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.297/2.297, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.89 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.12, allocations: 140.4 MB / 1.088 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07557/1.196, allocations: 60.46 MB / 1.147 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02481/1.221, allocations: 13.18 MB / 1.16 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004915/1.226, allocations: 66.59 kB / 1.16 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004196/1.23, allocations: 0.9673 MB / 1.161 GB, free: 308 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009844/1.24, allocations: 2.301 MB / 1.163 GB, free: 14.92 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006335/1.246, allocations: 1.548 MB / 1.165 GB, free: 14.08 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009431/1.255, allocations: 4.29 MB / 1.169 GB, free: 12.01 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003126/1.259, allocations: 1.317 MB / 1.17 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005687/1.264, allocations: 1.594 MB / 1.172 GB, free: 10.63 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003283/1.268, allocations: 1.186 MB / 1.173 GB, free: 10.08 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004728/1.268, allocations: 139.3 kB / 1.173 GB, free: 10.08 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005182/1.273, allocations: 1.445 MB / 1.174 GB, free: 9.387 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006348/1.274, allocations: 415 kB / 1.175 GB, free: 9.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001536/1.276, allocations: 0.9007 MB / 1.176 GB, free: 8.469 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007743/1.283, allocations: 2.756 MB / 1.178 GB, free: 6.648 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.283, allocations: 1.094 kB / 1.178 GB, free: 6.648 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/1.283, allocations: 0 / 1.178 GB, free: 6.648 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.269e-05/1.283, allocations: 0 / 1.178 GB, free: 6.648 MB / 0.92 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.005639/1.289, allocations: 2.165 MB / 1.18 GB, free: 5.012 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/1.289, allocations: 9.562 kB / 1.18 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004053/1.293, allocations: 0.607 MB / 1.181 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/1.297, allocations: 1.428 MB / 1.182 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/1.297, allocations: 148.6 kB / 1.183 GB, free: 3.543 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/1.297, allocations: 94.75 kB / 1.183 GB, free: 3.516 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/1.3, allocations: 1.312 MB / 1.184 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/1.3, allocations: 1.094 kB / 1.184 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/1.3, allocations: 38.19 kB / 1.184 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/1.3, allocations: 22.69 kB / 1.184 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/1.304, allocations: 1.312 MB / 1.185 GB, free: 2.105 MB / 0.92 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.008664/1.313, allocations: 5.351 MB / 1.191 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005854/1.319, allocations: 1.411 MB / 1.192 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/1.32, allocations: 0.5917 MB / 1.192 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/1.322, allocations: 1.238 MB / 1.194 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002136/1.324, allocations: 0.6528 MB / 1.194 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=69): time 4.378e-06/1.324, allocations: 0 / 1.194 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69): time 0.006168/1.33, allocations: 1.68 MB / 1.196 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/1.33, allocations: 59.34 kB / 1.196 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/1.332, allocations: 1.279 MB / 1.197 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/1.333, allocations: 43.7 kB / 1.197 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006601/1.333, allocations: 0.6568 MB / 1.198 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/1.334, allocations: 234.1 kB / 1.198 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/1.334, allocations: 173.2 kB / 1.198 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.334, allocations: 333.8 kB / 1.199 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/1.336, allocations: 0.5295 MB / 1.199 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/1.338, allocations: 0.7361 MB / 1.2 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003385/1.341, allocations: 1.134 MB / 1.201 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/1.341, allocations: 1.125 kB / 1.201 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004502/1.346, allocations: 1.394 MB / 1.202 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/1.346, allocations: 35.94 kB / 1.202 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.346, allocations: 11.25 kB / 1.202 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/1.346, allocations: 10.75 kB / 1.202 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.347, allocations: 249.7 kB / 1.203 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/1.347, allocations: 5.906 kB / 1.203 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/1.349, allocations: 182.9 kB / 1.203 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/1.349, allocations: 38.09 kB / 1.203 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002334/1.352, allocations: 0.7896 MB / 1.204 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001773/1.354, allocations: 0.7331 MB / 1.204 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003187/1.357, allocations: 1.121 MB / 1.205 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/1.357, allocations: 5.406 kB / 1.205 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.004365/1.361, allocations: 1.386 MB / 1.207 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/1.361, allocations: 33.7 kB / 1.207 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.361, allocations: 4 kB / 1.207 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/1.361, allocations: 11.94 kB / 1.207 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.362, allocations: 251.9 kB / 1.207 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/1.362, allocations: 15.98 kB / 1.207 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/1.364, allocations: 171.2 kB / 1.207 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.726e-05/1.364, allocations: 39.98 kB / 1.207 GB, free: 2.719 MB / 0.9356 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.0003662/1.365, allocations: 228.1 kB / 1.208 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005502/1.365, allocations: 146.2 kB / 1.208 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004228/1.37, allocations: 1.454 MB / 1.209 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.37, allocations: 8 kB / 1.209 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.37, allocations: 0 / 1.209 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003342/1.373, allocations: 1.218 MB / 1.21 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007321/1.38, allocations: 3.182 MB / 1.213 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.38, allocations: 4 kB / 1.213 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/1.381, allocations: 228.2 kB / 1.214 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/1.381, allocations: 11.94 kB / 1.214 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.763e-05/1.382, allocations: 23.98 kB / 1.214 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.898e-05/1.382, allocations: 15.92 kB / 1.214 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.382, allocations: 7.938 kB / 1.214 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005571/1.387, allocations: 2.196 MB / 1.216 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009065/1.388, allocations: 346.9 kB / 1.216 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003997/1.388, allocations: 19.94 kB / 1.216 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.39, allocations: 139.8 kB / 1.216 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/1.39, allocations: 72.34 kB / 1.216 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.39, allocations: 43.97 kB / 1.216 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00148/1.392, allocations: 0.9165 MB / 1.217 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.392, allocations: 0 / 1.217 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002896/1.395, allocations: 0.7876 MB / 1.218 GB, free: 7.375 MB / 0.9512 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.001371/1.396, allocations: 0.5156 MB / 1.219 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005678/1.402, allocations: 1.984 MB / 1.221 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.402, allocations: 4.125 kB / 1.221 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001952/1.404, allocations: 0.6833 MB / 1.221 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004656/1.408, allocations: 0.7581 MB / 1.222 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005421/1.414, allocations: 2.649 MB / 1.225 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.415, allocations: 1.23 MB / 1.226 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001695/1.417, allocations: 367.3 kB / 1.226 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/1.417, allocations: 127.4 kB / 1.226 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of SimCode: time 1.362e-06/1.417, allocations: 0 / 1.226 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of Templates: time 0.0601/1.477, allocations: 31.68 MB / 1.257 GB, free: 15.68 MB / 0.9981 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