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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 197.6 kB / 16.53 MB, free: 6.699 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.709/2.709, allocations: 469.4 MB / 0.742 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 72.17 kB / 0.9083 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2567, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05764/0.3144, allocations: 60.6 MB / 1.123 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.3317, allocations: 13.21 MB / 1.136 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.334, allocations: 67.62 kB / 1.136 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002666/0.3367, allocations: 0.9628 MB / 1.137 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005958/0.3427, allocations: 2.323 MB / 1.139 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003794/0.3465, allocations: 1.556 MB / 1.141 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005254/0.3517, allocations: 4.324 MB / 1.145 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.3538, allocations: 1.338 MB / 1.146 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/0.3573, allocations: 1.564 MB / 1.148 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.3594, allocations: 1.202 MB / 1.149 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004774/0.3599, allocations: 147.9 kB / 1.149 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003438/0.3634, allocations: 1.47 MB / 1.15 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005908/0.364, allocations: 414.5 kB / 1.151 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.3654, allocations: 0.9095 MB / 1.152 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004265/0.3697, allocations: 2.754 MB / 1.154 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3697, allocations: 4 kB / 1.154 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3697, allocations: 0 / 1.154 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.406e-05/0.3698, allocations: 0 / 1.154 GB, free: 1.41 MB / 0.9044 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.004152/0.374, allocations: 2.187 MB / 1.156 GB, free: 15.16 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.374, allocations: 12.03 kB / 1.156 GB, free: 15.15 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.3742, allocations: 151.9 kB / 1.157 GB, free: 14.99 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003754/0.378, allocations: 0.5563 MB / 1.157 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.3803, allocations: 1.371 MB / 1.158 GB, free: 13.01 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.3805, allocations: 153.3 kB / 1.159 GB, free: 12.85 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.3807, allocations: 99.98 kB / 1.159 GB, free: 12.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/0.3837, allocations: 1.323 MB / 1.16 GB, free: 11.39 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.3837, allocations: 4 kB / 1.16 GB, free: 11.39 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.3838, allocations: 47.98 kB / 1.16 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.3838, allocations: 27.94 kB / 1.16 GB, free: 11.31 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003851/0.3877, allocations: 1.327 MB / 1.161 GB, free: 9.988 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.007226/0.3949, allocations: 5.485 MB / 1.167 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00564/0.4006, allocations: 1.337 MB / 1.168 GB, free: 2.777 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.4023, allocations: 0.6006 MB / 1.169 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000829/0.4032, allocations: 1.239 MB / 1.17 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001816/0.405, allocations: 0.6627 MB / 1.171 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 2.885e-06/0.405, allocations: 0 / 1.171 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.005214/0.4102, allocations: 1.688 MB / 1.172 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.4103, allocations: 63.97 kB / 1.172 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.412, allocations: 1.291 MB / 1.173 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.4121, allocations: 45.7 kB / 1.174 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/0.4126, allocations: 0.6541 MB / 1.174 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.4129, allocations: 236.6 kB / 1.174 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.4132, allocations: 182.4 kB / 1.175 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4134, allocations: 334 kB / 1.175 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.415, allocations: 0.5317 MB / 1.175 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.4169, allocations: 0.756 MB / 1.176 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003218/0.4201, allocations: 1.144 MB / 1.177 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4201, allocations: 0 / 1.177 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004017/0.4241, allocations: 1.407 MB / 1.179 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.4242, allocations: 33.7 kB / 1.179 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.4242, allocations: 4 kB / 1.179 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.4242, allocations: 7.938 kB / 1.179 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.4256, allocations: 259.7 kB / 1.179 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.4256, allocations: 8 kB / 1.179 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.4271, allocations: 187 kB / 1.179 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.4272, allocations: 39.98 kB / 1.179 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002036/0.4293, allocations: 0.7846 MB / 1.18 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001765/0.4311, allocations: 0.7477 MB / 1.181 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003174/0.4342, allocations: 1.132 MB / 1.182 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.407e-06/0.4343, allocations: 0 / 1.182 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003972/0.4382, allocations: 1.399 MB / 1.183 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.4383, allocations: 37.7 kB / 1.183 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4383, allocations: 0 / 1.183 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.4383, allocations: 15.92 kB / 1.183 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.4396, allocations: 259.9 kB / 1.183 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.4396, allocations: 4 kB / 1.183 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.4412, allocations: 175.3 kB / 1.184 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.873e-05/0.4413, allocations: 39.97 kB / 1.184 GB, free: 2.191 MB / 0.9356 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.0002688/0.4416, allocations: 240 kB / 1.184 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.4419, allocations: 146.2 kB / 1.184 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003997/0.4459, allocations: 1.466 MB / 1.185 GB, free: 328 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.4459, allocations: 8 kB / 1.185 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4459, allocations: 0 / 1.185 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003319/0.4493, allocations: 1.226 MB / 1.187 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006376/0.4556, allocations: 3.191 MB / 1.19 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.4557, allocations: 8.094 kB / 1.19 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.4569, allocations: 227.6 kB / 1.19 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/0.4569, allocations: 11.94 kB / 1.19 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.457, allocations: 27.92 kB / 1.19 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.457, allocations: 4 kB / 1.19 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.457, allocations: 15.92 kB / 1.19 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005444/0.4625, allocations: 2.212 MB / 1.192 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.463, allocations: 347 kB / 1.193 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.4632, allocations: 19.94 kB / 1.193 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.4646, allocations: 127.9 kB / 1.193 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.4648, allocations: 72.36 kB / 1.193 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.396e-05/0.4649, allocations: 43.97 kB / 1.193 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00117/0.4661, allocations: 0.9207 MB / 1.194 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4661, allocations: 0 / 1.194 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001858/0.4679, allocations: 0.8031 MB / 1.194 GB, free: 6.793 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 (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.006623/0.4746, allocations: 3.177 MB / 1.198 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005754/0.4803, allocations: 2.058 MB / 1.2 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.4803, allocations: 4 kB / 1.2 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/0.4823, allocations: 0.6796 MB / 1.2 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003676/0.486, allocations: 0.7807 MB / 1.201 GB, free: 16 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/0.5093, allocations: 13.02 MB / 1.214 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/0.5102, allocations: 1.237 MB / 1.215 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001758/0.512, allocations: 367.6 kB / 1.215 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008379/0.5128, allocations: 0.593 MB / 1.216 GB, free: 224 kB / 0.9669 GB Notification: Performance of SimCode: time 8.11e-07/0.5129, allocations: 4 kB / 1.216 GB, free: 220 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.494/1.007, allocations: 43.75 MB / 1.259 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/9.299, allocations: 1.938 kB / 1.259 GB, free: 178.3 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.csv","/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