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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.007731/0.007731, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.002163/0.002163, allocations: 187.5 kB / 16.67 MB, free: 5.465 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 63.84 kB / 1.083 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2816, allocations: 162.2 MB / 1.241 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.5587/0.8403, allocations: 60.69 MB / 1.301 GB, free: 8.203 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01972/0.8601, allocations: 13.22 MB / 1.314 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.8621, allocations: 67.91 kB / 1.314 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002312/0.8645, allocations: 0.9592 MB / 1.315 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005511/0.87, allocations: 2.314 MB / 1.317 GB, free: 12.72 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003916/0.8739, allocations: 1.575 MB / 1.318 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005421/0.8793, allocations: 4.329 MB / 1.323 GB, free: 9.773 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.8812, allocations: 1.35 MB / 1.324 GB, free: 9.137 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003751/0.885, allocations: 1.753 MB / 1.326 GB, free: 8.309 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.8865, allocations: 1.195 MB / 1.327 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002262/0.8868, allocations: 142.4 kB / 1.327 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.89, allocations: 1.471 MB / 1.328 GB, free: 7.207 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004654/0.8905, allocations: 424.9 kB / 1.329 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.8915, allocations: 0.9144 MB / 1.33 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003989/0.8955, allocations: 2.808 MB / 1.332 GB, free: 5.32 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8955, allocations: 0.5625 kB / 1.332 GB, free: 5.32 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8955, allocations: 1.094 kB / 1.332 GB, free: 5.32 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.54e-05/0.8956, allocations: 0 / 1.332 GB, free: 5.32 MB / 1.045 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.00399/0.8996, allocations: 2.244 MB / 1.335 GB, free: 3.832 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.8996, allocations: 13.62 kB / 1.335 GB, free: 3.828 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001997/0.8998, allocations: 146.1 kB / 1.335 GB, free: 3.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004477/0.9043, allocations: 0.6213 MB / 1.335 GB, free: 3.594 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.9068, allocations: 1.468 MB / 1.337 GB, free: 2.746 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/0.907, allocations: 153.3 kB / 1.337 GB, free: 2.641 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.9071, allocations: 106 kB / 1.337 GB, free: 2.605 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.9106, allocations: 1.371 MB / 1.338 GB, free: 2.078 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.9106, allocations: 1.094 kB / 1.338 GB, free: 2.078 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.9107, allocations: 41.72 kB / 1.339 GB, free: 2.047 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.021e-05/0.9108, allocations: 24.94 kB / 1.339 GB, free: 2.047 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004438/0.9152, allocations: 1.426 MB / 1.34 GB, free: 1.613 MB / 1.045 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.007931/0.9231, allocations: 5.579 MB / 1.345 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006096/0.9293, allocations: 1.387 MB / 1.347 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/0.9312, allocations: 0.6346 MB / 1.347 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.9323, allocations: 1.236 MB / 1.349 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002074/0.9344, allocations: 0.6896 MB / 1.349 GB, free: 11.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 2.595e-06/0.9344, allocations: 0 / 1.349 GB, free: 11.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.005822/0.9402, allocations: 1.761 MB / 1.351 GB, free: 10.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.9403, allocations: 70.86 kB / 1.351 GB, free: 10.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.9419, allocations: 1.287 MB / 1.352 GB, free: 9.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.956e-05/0.942, allocations: 45.14 kB / 1.352 GB, free: 9.547 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/0.9427, allocations: 0.6605 MB / 1.353 GB, free: 8.961 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.943, allocations: 253.2 kB / 1.353 GB, free: 8.742 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00034/0.9433, allocations: 178.6 kB / 1.353 GB, free: 8.633 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.9435, allocations: 333.6 kB / 1.354 GB, free: 8.309 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/0.9454, allocations: 0.5604 MB / 1.354 GB, free: 8.043 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/0.9474, allocations: 0.7714 MB / 1.355 GB, free: 7.539 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003625/0.951, allocations: 1.187 MB / 1.356 GB, free: 6.895 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.9511, allocations: 1.156 kB / 1.356 GB, free: 6.895 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004237/0.9553, allocations: 1.463 MB / 1.358 GB, free: 6.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.9554, allocations: 32.89 kB / 1.358 GB, free: 6.148 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.9554, allocations: 3.531 kB / 1.358 GB, free: 6.148 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.9554, allocations: 10.62 kB / 1.358 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.9568, allocations: 273.5 kB / 1.358 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.9568, allocations: 6.75 kB / 1.358 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.9584, allocations: 198.1 kB / 1.358 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.9585, allocations: 43.03 kB / 1.358 GB, free: 5.938 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00218/0.9607, allocations: 0.8033 MB / 1.359 GB, free: 5.508 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002015/0.9627, allocations: 0.7756 MB / 1.36 GB, free: 4.992 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003548/0.9663, allocations: 1.175 MB / 1.361 GB, free: 4.352 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.9663, allocations: 1.062 kB / 1.361 GB, free: 4.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004189/0.9705, allocations: 1.451 MB / 1.362 GB, free: 3.648 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.9705, allocations: 33.39 kB / 1.362 GB, free: 3.617 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.9705, allocations: 3.812 kB / 1.362 GB, free: 3.617 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.9705, allocations: 14.3 kB / 1.362 GB, free: 3.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.9719, allocations: 265.4 kB / 1.363 GB, free: 3.531 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.972, allocations: 9.844 kB / 1.363 GB, free: 3.527 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.9734, allocations: 187.8 kB / 1.363 GB, free: 3.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/0.9735, allocations: 33.73 kB / 1.363 GB, free: 3.426 MB / 1.061 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.0002726/0.9738, allocations: 227.4 kB / 1.363 GB, free: 3.211 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.9741, allocations: 157.3 kB / 1.363 GB, free: 3.125 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004479/0.9786, allocations: 1.52 MB / 1.365 GB, free: 2.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.9786, allocations: 7.656 kB / 1.365 GB, free: 2.32 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.9786, allocations: 1.062 kB / 1.365 GB, free: 2.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003806/0.9824, allocations: 1.272 MB / 1.366 GB, free: 1.652 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007004/0.9895, allocations: 3.271 MB / 1.369 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.9895, allocations: 4.312 kB / 1.369 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.9908, allocations: 230.3 kB / 1.369 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.9908, allocations: 10.91 kB / 1.369 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.028e-05/0.9909, allocations: 35.69 kB / 1.369 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/0.9909, allocations: 11.34 kB / 1.369 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.9909, allocations: 9.297 kB / 1.369 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006161/0.9971, allocations: 2.298 MB / 1.372 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005515/0.9976, allocations: 359 kB / 1.372 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.9979, allocations: 24.72 kB / 1.372 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/0.9993, allocations: 128.5 kB / 1.372 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.9995, allocations: 78.69 kB / 1.372 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.583e-05/0.9996, allocations: 40.91 kB / 1.372 GB, free: 13.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001238/1.001, allocations: 0.9215 MB / 1.373 GB, free: 13.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.8e-07/1.001, allocations: 0 / 1.373 GB, free: 13.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001944/1.003, allocations: 0.8112 MB / 1.374 GB, free: 12.91 MB / 1.076 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.007307/1.01, allocations: 3.265 MB / 1.377 GB, free: 10.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006088/1.016, allocations: 2.081 MB / 1.379 GB, free: 9.48 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.016, allocations: 4 kB / 1.379 GB, free: 9.477 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/1.018, allocations: 0.703 MB / 1.38 GB, free: 8.773 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/1.022, allocations: 0.7641 MB / 1.381 GB, free: 8.023 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02486/1.047, allocations: 12.25 MB / 1.392 GB, free: 11.45 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009649/1.048, allocations: 1.237 MB / 1.394 GB, free: 10.19 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001523/1.049, allocations: 363.6 kB / 1.394 GB, free: 9.828 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009679/1.05, allocations: 0.5969 MB / 1.395 GB, free: 9.23 MB / 1.092 GB Notification: Performance of SimCode: time 5.81e-07/1.05, allocations: 0 / 1.395 GB, free: 9.23 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08325/1.134, allocations: 44.25 MB / 1.438 GB, free: 13.48 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.72, allocations: 6.734 kB / 1.438 GB, free: 13.48 MB / 1.139 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 400 --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