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.001447/0.001447, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.001597/0.001597, allocations: 183 kB / 17.34 MB, free: 5.738 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.373/1.373, allocations: 222.9 MB / 241 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.364/2.364, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8193/0.8207, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0731/0.8938, allocations: 60.45 MB / 1.148 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02231/0.9161, allocations: 13.18 MB / 1.161 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.9194, allocations: 66.34 kB / 1.161 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.9228, allocations: 0.9663 MB / 1.162 GB, free: 56 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008735/0.9316, allocations: 2.308 MB / 1.164 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005342/0.9369, allocations: 1.541 MB / 1.165 GB, free: 13.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008371/0.9453, allocations: 4.294 MB / 1.169 GB, free: 11.77 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.9488, allocations: 1.325 MB / 1.171 GB, free: 11.14 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005263/0.9541, allocations: 1.618 MB / 1.172 GB, free: 10.38 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002894/0.957, allocations: 1.193 MB / 1.174 GB, free: 9.82 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006795/0.9577, allocations: 139.4 kB / 1.174 GB, free: 9.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004665/0.9624, allocations: 1.444 MB / 1.175 GB, free: 9.145 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008389/0.9633, allocations: 411.6 kB / 1.175 GB, free: 8.832 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002205/0.9655, allocations: 0.9042 MB / 1.176 GB, free: 8.227 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006596/0.9721, allocations: 2.751 MB / 1.179 GB, free: 6.414 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.9721, allocations: 0 / 1.179 GB, free: 6.414 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9722, allocations: 1 kB / 1.179 GB, free: 6.414 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.777e-05/0.9723, allocations: 4 kB / 1.179 GB, free: 6.41 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.005405/0.9777, allocations: 2.165 MB / 1.181 GB, free: 4.773 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.9777, allocations: 9.844 kB / 1.181 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004032/0.9818, allocations: 0.607 MB / 1.182 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003161/0.9849, allocations: 1.423 MB / 1.183 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.9852, allocations: 144.5 kB / 1.183 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/0.9854, allocations: 100.4 kB / 1.183 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/0.9889, allocations: 1.308 MB / 1.185 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.9889, allocations: 5.562 kB / 1.185 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.9891, allocations: 35.88 kB / 1.185 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.9891, allocations: 24.75 kB / 1.185 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003922/0.993, allocations: 1.312 MB / 1.186 GB, free: 1.871 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.009024/1.002, allocations: 5.355 MB / 1.191 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005675/1.008, allocations: 1.406 MB / 1.193 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/1.01, allocations: 0.5965 MB / 1.193 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/1.011, allocations: 1.234 MB / 1.194 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002004/1.013, allocations: 0.653 MB / 1.195 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=69): time 3.637e-06/1.013, allocations: 0 / 1.195 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69): time 0.005561/1.018, allocations: 1.68 MB / 1.197 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/1.018, allocations: 59.81 kB / 1.197 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/1.021, allocations: 1.283 MB / 1.198 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/1.021, allocations: 44.02 kB / 1.198 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006667/1.022, allocations: 0.6478 MB / 1.199 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/1.022, allocations: 243 kB / 1.199 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/1.022, allocations: 174.2 kB / 1.199 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.022, allocations: 336.6 kB / 1.199 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/1.024, allocations: 0.5259 MB / 1.2 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/1.026, allocations: 0.7409 MB / 1.201 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00323/1.029, allocations: 1.134 MB / 1.202 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/1.029, allocations: 1.219 kB / 1.202 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004906/1.034, allocations: 1.393 MB / 1.203 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-05/1.034, allocations: 36.48 kB / 1.203 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.034, allocations: 7.375 kB / 1.203 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.269e-05/1.034, allocations: 10.38 kB / 1.203 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/1.036, allocations: 253.4 kB / 1.203 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-05/1.036, allocations: 7.344 kB / 1.203 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/1.038, allocations: 182.7 kB / 1.204 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/1.038, allocations: 42.03 kB / 1.204 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002231/1.04, allocations: 0.7793 MB / 1.204 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001853/1.042, allocations: 0.7384 MB / 1.205 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003358/1.045, allocations: 1.122 MB / 1.206 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.203e-06/1.045, allocations: 0 / 1.206 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.004253/1.05, allocations: 1.384 MB / 1.208 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/1.05, allocations: 33.7 kB / 1.208 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.05, allocations: 0 / 1.208 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/1.05, allocations: 8 kB / 1.208 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/1.051, allocations: 259.8 kB / 1.208 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/1.051, allocations: 12 kB / 1.208 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/1.053, allocations: 175.2 kB / 1.208 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/1.053, allocations: 31.98 kB / 1.208 GB, free: 2.539 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.0003747/1.053, allocations: 236.1 kB / 1.208 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005514/1.054, allocations: 146.2 kB / 1.208 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/1.058, allocations: 1.454 MB / 1.21 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/1.058, allocations: 8 kB / 1.21 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.058, allocations: 0 / 1.21 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003306/1.062, allocations: 1.222 MB / 1.211 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007578/1.069, allocations: 3.178 MB / 1.214 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.069, allocations: 4 kB / 1.214 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.071, allocations: 220.2 kB / 1.214 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/1.071, allocations: 7.938 kB / 1.214 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/1.071, allocations: 27.97 kB / 1.214 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/1.071, allocations: 11.94 kB / 1.214 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.071, allocations: 7.938 kB / 1.214 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005778/1.076, allocations: 2.2 MB / 1.217 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009431/1.077, allocations: 346.9 kB / 1.217 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000484/1.078, allocations: 23.94 kB / 1.217 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/1.08, allocations: 131.8 kB / 1.217 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/1.08, allocations: 80.36 kB / 1.217 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/1.08, allocations: 35.97 kB / 1.217 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00161/1.081, allocations: 0.9204 MB / 1.218 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/1.081, allocations: 0 / 1.218 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00313/1.085, allocations: 0.7837 MB / 1.219 GB, free: 7.199 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.001393/1.086, allocations: 0.5296 MB / 1.219 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0058/1.092, allocations: 1.992 MB / 1.221 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/1.092, allocations: 4.125 kB / 1.221 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002038/1.094, allocations: 0.656 MB / 1.222 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00451/1.098, allocations: 0.7519 MB / 1.223 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005606/1.104, allocations: 2.686 MB / 1.225 GB, free: 492 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009834/1.105, allocations: 1.23 MB / 1.226 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/1.106, allocations: 135.4 kB / 1.227 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of SimCode: time 7.12e-07/1.106, allocations: 0 / 1.227 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of Templates: time 0.04076/1.147, allocations: 26.88 MB / 1.253 GB, free: 4.434 MB / 0.9825 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches