Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_11_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.007556/0.007556, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.00207/0.00207, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 469.8 MB / 0.7425 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 59.91 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2894, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.6121/0.9015, allocations: 75.18 MB / 1.294 GB, free: 5.879 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.019/0.9206, allocations: 12.77 MB / 1.306 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.923, allocations: 66.5 kB / 1.306 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.9254, allocations: 0.8277 MB / 1.307 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00675/0.9322, allocations: 2.458 MB / 1.309 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003676/0.9359, allocations: 1.394 MB / 1.311 GB, free: 9.887 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006222/0.9422, allocations: 4.396 MB / 1.315 GB, free: 7.691 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002342/0.9445, allocations: 1.428 MB / 1.316 GB, free: 7.008 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003838/0.9484, allocations: 1.625 MB / 1.318 GB, free: 6.207 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.9508, allocations: 1.195 MB / 1.319 GB, free: 5.648 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004543/0.9513, allocations: 163 kB / 1.319 GB, free: 5.648 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003685/0.9549, allocations: 1.407 MB / 1.321 GB, free: 5.129 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006472/0.9556, allocations: 400.2 kB / 1.321 GB, free: 4.875 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.9574, allocations: 0.8988 MB / 1.322 GB, free: 4.312 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005067/0.9624, allocations: 2.876 MB / 1.325 GB, free: 3.207 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.9625, allocations: 0 / 1.325 GB, free: 3.207 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9625, allocations: 0 / 1.325 GB, free: 3.207 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.375e-05/0.9625, allocations: 0 / 1.325 GB, free: 3.207 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.004143/0.9667, allocations: 2.134 MB / 1.327 GB, free: 1.777 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.9667, allocations: 9.188 kB / 1.327 GB, free: 1.777 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/0.9669, allocations: 152.3 kB / 1.327 GB, free: 1.676 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008565/0.9678, allocations: 240 kB / 1.327 GB, free: 1.578 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/0.9704, allocations: 1.521 MB / 1.329 GB, free: 0.668 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.346e-05/0.9705, allocations: 80.8 kB / 1.329 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.9707, allocations: 104.8 kB / 1.329 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.9728, allocations: 1.108 MB / 1.33 GB, free: 100 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.9728, allocations: 0 / 1.33 GB, free: 100 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.9729, allocations: 42.31 kB / 1.33 GB, free: 68 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.9729, allocations: 25.86 kB / 1.33 GB, free: 68 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.975, allocations: 0.8823 MB / 1.331 GB, free: 15.75 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.006445/0.9814, allocations: 4.92 MB / 1.336 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.9829, allocations: 0.6171 MB / 1.336 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007401/0.9836, allocations: 348.8 kB / 1.337 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007521/0.9844, allocations: 0.8298 MB / 1.337 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.9845, allocations: 41.81 kB / 1.337 GB, free: 10.96 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 2.134e-06/0.9845, allocations: 0 / 1.337 GB, free: 10.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.00736/0.9918, allocations: 1.684 MB / 1.339 GB, free: 10.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.9919, allocations: 57.84 kB / 1.339 GB, free: 10.4 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.9935, allocations: 1.23 MB / 1.34 GB, free: 9.891 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.512e-05/0.9936, allocations: 43.17 kB / 1.34 GB, free: 9.848 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005667/0.9942, allocations: 0.6116 MB / 1.341 GB, free: 9.359 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.9944, allocations: 224.5 kB / 1.341 GB, free: 9.184 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.9947, allocations: 157 kB / 1.341 GB, free: 9.105 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.9948, allocations: 333 kB / 1.342 GB, free: 8.789 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000712/0.9955, allocations: 286.4 kB / 1.342 GB, free: 8.691 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008929/0.9964, allocations: 498 kB / 1.342 GB, free: 8.375 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.998, allocations: 0.7117 MB / 1.343 GB, free: 7.988 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.998, allocations: 5.281 kB / 1.343 GB, free: 7.984 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004855/1.003, allocations: 1.281 MB / 1.344 GB, free: 7.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.003, allocations: 10.8 kB / 1.344 GB, free: 7.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.003, allocations: 2.75 kB / 1.344 GB, free: 7.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005792/1.003, allocations: 131.3 kB / 1.345 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/1.004, allocations: 161.9 kB / 1.345 GB, free: 7.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008957/1.005, allocations: 0.695 MB / 1.345 GB, free: 6.934 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/1.006, allocations: 131.5 kB / 1.345 GB, free: 6.863 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/1.006, allocations: 33.66 kB / 1.345 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001079/1.007, allocations: 0.5543 MB / 1.346 GB, free: 6.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008633/1.008, allocations: 493.6 kB / 1.347 GB, free: 6.254 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001455/1.01, allocations: 0.7009 MB / 1.347 GB, free: 5.883 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.945e-06/1.01, allocations: 1.281 kB / 1.347 GB, free: 5.883 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004819/1.014, allocations: 1.269 MB / 1.348 GB, free: 5.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/1.014, allocations: 6.188 kB / 1.348 GB, free: 5.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.014, allocations: 11.58 kB / 1.348 GB, free: 5.242 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000495/1.015, allocations: 129 kB / 1.349 GB, free: 5.184 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/1.016, allocations: 162.1 kB / 1.349 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008709/1.016, allocations: 0.6986 MB / 1.349 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009953/1.017, allocations: 97.78 kB / 1.35 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/1.017, allocations: 32.12 kB / 1.35 GB, free: 4.453 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.0002544/1.018, allocations: 219.9 kB / 1.35 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/1.018, allocations: 148 kB / 1.35 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004936/1.023, allocations: 1.268 MB / 1.351 GB, free: 3.457 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.023, allocations: 10.41 kB / 1.351 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.023, allocations: 5.469 kB / 1.351 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004408/1.027, allocations: 1.098 MB / 1.352 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00684/1.034, allocations: 2.621 MB / 1.355 GB, free: 1.016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.034, allocations: 3.844 kB / 1.355 GB, free: 1.016 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/1.035, allocations: 118.2 kB / 1.355 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/1.035, allocations: 129.6 kB / 1.355 GB, free: 0.918 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/1.035, allocations: 27.95 kB / 1.355 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005709/1.041, allocations: 2.574 MB / 1.358 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/1.041, allocations: 7.938 kB / 1.358 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005692/1.047, allocations: 1.695 MB / 1.359 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006301/1.047, allocations: 320.5 kB / 1.36 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.048, allocations: 14.75 kB / 1.36 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000834/1.048, allocations: 53.66 kB / 1.36 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/1.049, allocations: 61.23 kB / 1.36 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/1.049, allocations: 29.02 kB / 1.36 GB, free: 13.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00137/1.05, allocations: 0.8813 MB / 1.361 GB, free: 12.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.05, allocations: 0 / 1.361 GB, free: 12.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001969/1.052, allocations: 0.7246 MB / 1.361 GB, free: 12.68 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.006777/1.059, allocations: 2.612 MB / 1.364 GB, free: 10.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002746/1.062, allocations: 1.124 MB / 1.365 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.062, allocations: 1.469 kB / 1.365 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/1.063, allocations: 0.5559 MB / 1.365 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003628/1.067, allocations: 0.7864 MB / 1.366 GB, free: 9.707 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/1.087, allocations: 9.837 MB / 1.376 GB, free: 3.746 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008513/1.088, allocations: 1.171 MB / 1.377 GB, free: 2.832 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001206/1.089, allocations: 313.7 kB / 1.377 GB, free: 2.676 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007476/1.09, allocations: 0.5082 MB / 1.378 GB, free: 2.25 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/1.09, allocations: 2.75 kB / 1.378 GB, free: 2.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08924/1.179, allocations: 42.42 MB / 1.419 GB, free: 8.695 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/15.04, allocations: 11.94 kB / 1.419 GB, free: 8.684 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches