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.001576/0.001576, allocations: 106.4 kB / 16.37 MB, free: 6.434 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.001457/0.001457, allocations: 189.1 kB / 17.3 MB, free: 5.773 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.395/1.395, 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 11.0.0-master/package.mo): time 2.547/2.547, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.59 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.344, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.7801/1.124, allocations: 60.6 MB / 1.086 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02155/1.146, allocations: 13.21 MB / 1.099 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003802/1.15, allocations: 71.16 kB / 1.099 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003999/1.154, allocations: 0.9675 MB / 1.1 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009232/1.163, allocations: 2.312 MB / 1.102 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005529/1.168, allocations: 1.583 MB / 1.104 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00889/1.177, allocations: 4.321 MB / 1.108 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/1.18, allocations: 1.346 MB / 1.109 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005101/1.185, allocations: 1.565 MB / 1.111 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/1.188, allocations: 1.209 MB / 1.112 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003428/1.189, allocations: 141.3 kB / 1.112 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00502/1.194, allocations: 1.474 MB / 1.113 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00053/1.194, allocations: 419.3 kB / 1.114 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/1.196, allocations: 0.9169 MB / 1.115 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006172/1.202, allocations: 2.779 MB / 1.117 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.202, allocations: 1.125 kB / 1.117 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.084e-06/1.202, allocations: 3.938 kB / 1.117 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.012e-05/1.202, allocations: 4 kB / 1.117 GB, free: 5.02 MB / 0.8419 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.004892/1.207, allocations: 2.189 MB / 1.12 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.207, allocations: 10.3 kB / 1.12 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003761/1.211, allocations: 0.5492 MB / 1.12 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/1.214, allocations: 1.445 MB / 1.122 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/1.214, allocations: 143 kB / 1.122 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/1.214, allocations: 101.8 kB / 1.122 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/1.218, allocations: 1.322 MB / 1.123 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/1.218, allocations: 5 kB / 1.123 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/1.218, allocations: 38.64 kB / 1.123 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.975e-05/1.218, allocations: 27.5 kB / 1.123 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004001/1.222, allocations: 1.337 MB / 1.124 GB, free: 1.621 MB / 0.8419 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.008545/1.231, allocations: 5.46 MB / 1.13 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005498/1.236, allocations: 1.337 MB / 1.131 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/1.238, allocations: 0.6004 MB / 1.132 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/1.239, allocations: 1.237 MB / 1.133 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001821/1.241, allocations: 0.6587 MB / 1.134 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=70): time 2.876e-06/1.241, allocations: 0 / 1.134 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70): time 0.005376/1.246, allocations: 1.683 MB / 1.135 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/1.246, allocations: 67.59 kB / 1.135 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/1.248, allocations: 1.297 MB / 1.136 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/1.249, allocations: 43.55 kB / 1.137 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006334/1.249, allocations: 0.6544 MB / 1.137 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/1.249, allocations: 238.3 kB / 1.137 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/1.25, allocations: 175.6 kB / 1.138 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.25, allocations: 340.4 kB / 1.138 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/1.252, allocations: 0.5285 MB / 1.138 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/1.253, allocations: 0.7509 MB / 1.139 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003094/1.256, allocations: 1.146 MB / 1.14 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.257, allocations: 1.062 kB / 1.14 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004132/1.261, allocations: 1.405 MB / 1.142 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.666e-05/1.261, allocations: 35.84 kB / 1.142 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.261, allocations: 3.531 kB / 1.142 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/1.261, allocations: 11.34 kB / 1.142 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/1.262, allocations: 259.9 kB / 1.142 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.262, allocations: 11.94 kB / 1.142 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/1.264, allocations: 182.1 kB / 1.142 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/1.264, allocations: 39.31 kB / 1.142 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002157/1.266, allocations: 0.7886 MB / 1.143 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001813/1.268, allocations: 0.7428 MB / 1.144 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00314/1.271, allocations: 1.134 MB / 1.145 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.529e-06/1.271, allocations: 1.188 kB / 1.145 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004085/1.275, allocations: 1.405 MB / 1.146 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/1.275, allocations: 34.7 kB / 1.146 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.275, allocations: 3.781 kB / 1.146 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.275, allocations: 6.562 kB / 1.146 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/1.277, allocations: 255.1 kB / 1.146 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/1.277, allocations: 14.55 kB / 1.146 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/1.279, allocations: 176.7 kB / 1.147 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/1.279, allocations: 38.05 kB / 1.147 GB, free: 5.617 MB / 0.8575 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.00037/1.279, allocations: 243.2 kB / 1.147 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/1.279, allocations: 149 kB / 1.147 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003871/1.283, allocations: 1.45 MB / 1.148 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.283, allocations: 19.98 kB / 1.148 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.283, allocations: 0 / 1.148 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00316/1.287, allocations: 1.226 MB / 1.15 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007467/1.294, allocations: 3.202 MB / 1.153 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.294, allocations: 7.844 kB / 1.153 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/1.295, allocations: 218.1 kB / 1.153 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/1.295, allocations: 9.719 kB / 1.153 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.792e-05/1.295, allocations: 36.81 kB / 1.153 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/1.295, allocations: 7.156 kB / 1.153 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.295, allocations: 8.438 kB / 1.153 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005427/1.301, allocations: 2.211 MB / 1.155 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.302, allocations: 351.5 kB / 1.156 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/1.302, allocations: 20.41 kB / 1.156 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.304, allocations: 125.3 kB / 1.156 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.304, allocations: 74.16 kB / 1.156 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.479e-05/1.304, allocations: 44 kB / 1.156 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001335/1.305, allocations: 0.9185 MB / 1.157 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.61e-07/1.305, allocations: 0 / 1.157 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002392/1.308, allocations: 0.8051 MB / 1.157 GB, free: 15.28 MB / 0.8731 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.001193/1.309, allocations: 0.5123 MB / 1.158 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005102/1.314, allocations: 2.006 MB / 1.16 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.314, allocations: 4.188 kB / 1.16 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0018/1.316, allocations: 0.6847 MB / 1.161 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/1.319, allocations: 0.7535 MB / 1.161 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005951/1.325, allocations: 2.857 MB / 1.164 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007751/1.326, allocations: 1.235 MB / 1.165 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00157/1.328, allocations: 363.6 kB / 1.166 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/1.328, allocations: 123.4 kB / 1.166 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of SimCode: time 7.32e-07/1.328, allocations: 4 kB / 1.166 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of Templates: time 0.05323/1.381, allocations: 31.6 MB / 1.197 GB, free: 10.87 MB / 0.9044 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 -s cvode -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