Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y",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.008526/0.008526, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002067/0.002067, allocations: 195.8 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.364/2.364, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 3.406/3.406, allocations: 469.4 MB / 0.7421 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 59.91 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2622, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.5996/0.8618, allocations: 75.18 MB / 1.293 GB, free: 6.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.8801, allocations: 12.76 MB / 1.306 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/0.8826, allocations: 65.69 kB / 1.306 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.8848, allocations: 0.8539 MB / 1.307 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006682/0.8915, allocations: 2.583 MB / 1.309 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.8949, allocations: 1.405 MB / 1.31 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005673/0.9005, allocations: 4.402 MB / 1.315 GB, free: 8.039 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/0.9025, allocations: 1.428 MB / 1.316 GB, free: 7.344 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.9061, allocations: 1.655 MB / 1.318 GB, free: 6.535 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.9079, allocations: 1.197 MB / 1.319 GB, free: 5.973 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.9081, allocations: 162.4 kB / 1.319 GB, free: 5.973 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.9112, allocations: 1.408 MB / 1.32 GB, free: 5.453 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004124/0.9116, allocations: 408.6 kB / 1.321 GB, free: 5.191 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009421/0.9126, allocations: 0.8976 MB / 1.322 GB, free: 4.629 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004273/0.9169, allocations: 2.866 MB / 1.324 GB, free: 3.535 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.9169, allocations: 0 / 1.324 GB, free: 3.535 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9169, allocations: 1.219 kB / 1.324 GB, free: 3.535 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.54e-05/0.9169, allocations: 0 / 1.324 GB, free: 3.535 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003955/0.9209, allocations: 2.133 MB / 1.327 GB, free: 2.105 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.9209, allocations: 9.75 kB / 1.327 GB, free: 2.105 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/0.9211, allocations: 147.3 kB / 1.327 GB, free: 2.008 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008543/0.922, allocations: 244.4 kB / 1.327 GB, free: 1.906 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.9246, allocations: 1.533 MB / 1.328 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.9247, allocations: 83.95 kB / 1.329 GB, free: 0.9414 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.9249, allocations: 101.9 kB / 1.329 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.927, allocations: 1.107 MB / 1.33 GB, free: 424 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.9271, allocations: 5 kB / 1.33 GB, free: 420 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.9272, allocations: 39.28 kB / 1.33 GB, free: 392 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.9272, allocations: 25.19 kB / 1.33 GB, free: 392 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.9292, allocations: 0.8868 MB / 1.331 GB, free: 72 kB / 1.029 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.006256/0.9355, allocations: 4.908 MB / 1.335 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.9369, allocations: 0.6295 MB / 1.336 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007259/0.9377, allocations: 352.6 kB / 1.336 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006176/0.9383, allocations: 0.8266 MB / 1.337 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.9383, allocations: 39.75 kB / 1.337 GB, free: 11.28 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 2.334e-06/0.9383, allocations: 0 / 1.337 GB, free: 11.28 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.0072/0.9455, allocations: 1.686 MB / 1.339 GB, free: 10.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.9456, allocations: 57.97 kB / 1.339 GB, free: 10.71 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.9474, allocations: 1.229 MB / 1.34 GB, free: 10.2 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.432e-05/0.9475, allocations: 39.14 kB / 1.34 GB, free: 10.16 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005545/0.948, allocations: 0.6133 MB / 1.341 GB, free: 9.676 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.9482, allocations: 227.2 kB / 1.341 GB, free: 9.496 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.9485, allocations: 155.1 kB / 1.341 GB, free: 9.418 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9486, allocations: 335.8 kB / 1.341 GB, free: 9.102 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000692/0.9493, allocations: 290.9 kB / 1.342 GB, free: 9 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008654/0.9502, allocations: 492.8 kB / 1.342 GB, free: 8.688 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.9517, allocations: 0.7148 MB / 1.343 GB, free: 8.305 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.9517, allocations: 1.312 kB / 1.343 GB, free: 8.305 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004805/0.9565, allocations: 1.28 MB / 1.344 GB, free: 7.891 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.9565, allocations: 6.312 kB / 1.344 GB, free: 7.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.9565, allocations: 8.062 kB / 1.344 GB, free: 7.887 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/0.9571, allocations: 134.2 kB / 1.344 GB, free: 7.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/0.9578, allocations: 158.5 kB / 1.344 GB, free: 7.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008446/0.9586, allocations: 0.695 MB / 1.345 GB, free: 7.254 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.9598, allocations: 125.8 kB / 1.345 GB, free: 7.188 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/0.9599, allocations: 30.34 kB / 1.345 GB, free: 7.184 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00113/0.961, allocations: 0.5511 MB / 1.346 GB, free: 6.906 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008562/0.9619, allocations: 498.5 kB / 1.346 GB, free: 6.582 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001438/0.9633, allocations: 0.7057 MB / 1.347 GB, free: 6.207 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.9634, allocations: 1.219 kB / 1.347 GB, free: 6.207 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004729/0.9681, allocations: 1.272 MB / 1.348 GB, free: 5.602 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.9681, allocations: 6.719 kB / 1.348 GB, free: 5.602 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9681, allocations: 3.531 kB / 1.348 GB, free: 5.602 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.9686, allocations: 137 kB / 1.348 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.9692, allocations: 154.3 kB / 1.348 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008069/0.9701, allocations: 0.7018 MB / 1.349 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.9712, allocations: 99 kB / 1.349 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.099e-05/0.9713, allocations: 30.88 kB / 1.349 GB, free: 4.809 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000288/0.9716, allocations: 224.6 kB / 1.35 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003792/0.972, allocations: 144.5 kB / 1.35 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004852/0.9769, allocations: 1.263 MB / 1.351 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.9769, allocations: 5.75 kB / 1.351 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.9769, allocations: 1.438 kB / 1.351 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004244/0.9812, allocations: 1.103 MB / 1.352 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007141/0.9883, allocations: 2.61 MB / 1.355 GB, free: 1.387 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.9883, allocations: 3.469 kB / 1.355 GB, free: 1.387 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/0.9888, allocations: 115 kB / 1.355 GB, free: 1.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005099/0.9894, allocations: 132.1 kB / 1.355 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.9894, allocations: 29.36 kB / 1.355 GB, free: 1.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005085/0.9945, allocations: 2.592 MB / 1.357 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.9945, allocations: 7.5 kB / 1.357 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005484/1, allocations: 1.704 MB / 1.359 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007221/1.001, allocations: 312.1 kB / 1.359 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/1.001, allocations: 14.56 kB / 1.359 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.002, allocations: 50.09 kB / 1.359 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.002, allocations: 68.48 kB / 1.359 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/1.002, allocations: 29.05 kB / 1.359 GB, free: 13.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001515/1.004, allocations: 0.8813 MB / 1.36 GB, free: 13.19 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.21e-07/1.004, allocations: 0 / 1.36 GB, free: 13.19 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002475/1.006, allocations: 0.7216 MB / 1.361 GB, free: 13.04 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006644/1.013, allocations: 2.612 MB / 1.364 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002726/1.016, allocations: 1.112 MB / 1.365 GB, free: 10.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.016, allocations: 5.156 kB / 1.365 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/1.017, allocations: 0.5723 MB / 1.365 GB, free: 10.47 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003951/1.021, allocations: 0.7858 MB / 1.366 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/1.042, allocations: 9.831 MB / 1.376 GB, free: 4.109 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008178/1.043, allocations: 1.173 MB / 1.377 GB, free: 3.195 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001272/1.044, allocations: 310.3 kB / 1.377 GB, free: 3.043 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007562/1.045, allocations: 0.5046 MB / 1.378 GB, free: 2.621 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/1.045, allocations: 0 / 1.378 GB, free: 2.621 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07099/1.116, allocations: 42.43 MB / 1.419 GB, free: 9.035 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/14.05, allocations: 14.52 kB / 1.419 GB, free: 9.023 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches