Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.004222/0.004222, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001103/0.001103, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.533/2.533, allocations: 469.4 MB / 0.7422 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.11 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.6771, allocations: 159.1 MB / 1.22 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1766/0.8537, allocations: 181.9 MB / 1.397 GB, free: 11.67 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007656/0.8614, allocations: 5.363 MB / 1.403 GB, free: 6.301 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009311/0.8623, allocations: 35.81 kB / 1.403 GB, free: 6.266 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.8636, allocations: 445.4 kB / 1.403 GB, free: 5.828 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003796/0.8674, allocations: 1.743 MB / 1.405 GB, free: 4.078 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.8692, allocations: 0.8056 MB / 1.406 GB, free: 3.277 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002583/0.8718, allocations: 2.201 MB / 1.408 GB, free: 1.07 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.8729, allocations: 0.689 MB / 1.408 GB, free: 376 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.8742, allocations: 0.7793 MB / 1.409 GB, free: 15.59 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.8759, allocations: 0.6806 MB / 1.41 GB, free: 14.91 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.876, allocations: 76 kB / 1.41 GB, free: 14.84 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.8785, allocations: 1.403 MB / 1.411 GB, free: 13.43 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003861/0.8789, allocations: 319.1 kB / 1.412 GB, free: 13.12 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006748/0.8796, allocations: 473.9 kB / 1.412 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.8821, allocations: 1.67 MB / 1.414 GB, free: 10.98 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.8821, allocations: 0 / 1.414 GB, free: 10.98 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8821, allocations: 0 / 1.414 GB, free: 10.98 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.013e-05/0.8821, allocations: 0 / 1.414 GB, free: 10.98 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001979/0.8841, allocations: 1.214 MB / 1.415 GB, free: 9.711 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.8841, allocations: 8.625 kB / 1.415 GB, free: 9.703 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.8843, allocations: 98.52 kB / 1.415 GB, free: 9.598 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.8862, allocations: 279.2 kB / 1.415 GB, free: 9.324 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.8875, allocations: 0.7182 MB / 1.416 GB, free: 8.566 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.8875, allocations: 49.31 kB / 1.416 GB, free: 8.52 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/0.8876, allocations: 56 kB / 1.416 GB, free: 8.465 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.8887, allocations: 0.5804 MB / 1.417 GB, free: 7.875 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.8887, allocations: 0 / 1.417 GB, free: 7.875 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.022e-05/0.8888, allocations: 24 kB / 1.417 GB, free: 7.852 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.8888, allocations: 21.31 kB / 1.417 GB, free: 7.832 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009113/0.8897, allocations: 0.5048 MB / 1.417 GB, free: 7.328 MB / 1.139 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.003338/0.8931, allocations: 2.385 MB / 1.419 GB, free: 4.754 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007997/0.8939, allocations: 438.7 kB / 1.42 GB, free: 4.316 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.8942, allocations: 224.7 kB / 1.42 GB, free: 4.094 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.8944, allocations: 93.09 kB / 1.42 GB, free: 3.984 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.8944, allocations: 42.56 kB / 1.42 GB, free: 3.934 MB / 1.139 GB Notification: Performance of pre-optimization done (n=43): time 1.664e-06/0.8945, allocations: 0 / 1.42 GB, free: 3.934 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.002818/0.8973, allocations: 1.456 MB / 1.422 GB, free: 2.43 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.8973, allocations: 59.84 kB / 1.422 GB, free: 2.359 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005898/0.8979, allocations: 0.5383 MB / 1.422 GB, free: 1.809 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.898, allocations: 37.7 kB / 1.422 GB, free: 1.766 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.8982, allocations: 329.2 kB / 1.423 GB, free: 1.441 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.8984, allocations: 182.4 kB / 1.423 GB, free: 1.262 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.8985, allocations: 86.22 kB / 1.423 GB, free: 1.172 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8986, allocations: 374.7 kB / 1.423 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.899, allocations: 173 kB / 1.423 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.8993, allocations: 268.8 kB / 1.424 GB, free: 352 kB / 1.139 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/0.9027, allocations: 1.443 MB / 1.425 GB, free: 14.84 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9027, allocations: 0 / 1.425 GB, free: 14.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008434/0.9036, allocations: 0.5346 MB / 1.425 GB, free: 14.3 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.9036, allocations: 5.719 kB / 1.425 GB, free: 14.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.9036, allocations: 4 kB / 1.426 GB, free: 14.29 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.9036, allocations: 0 / 1.426 GB, free: 14.29 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.9041, allocations: 99.83 kB / 1.426 GB, free: 14.2 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.9041, allocations: 4 kB / 1.426 GB, free: 14.19 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.9047, allocations: 23.88 kB / 1.426 GB, free: 14.17 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.9048, allocations: 20 kB / 1.426 GB, free: 14.15 MB / 1.154 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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.0002891/0.9051, allocations: 253.8 kB / 1.426 GB, free: 13.89 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.9052, allocations: 71.58 kB / 1.426 GB, free: 13.82 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.9053, allocations: 78.45 kB / 1.426 GB, free: 13.74 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.9053, allocations: 11.94 kB / 1.426 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9054, allocations: 0 / 1.426 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006814/0.906, allocations: 0.5105 MB / 1.427 GB, free: 13.19 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.9083, allocations: 1.58 MB / 1.428 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.9084, allocations: 4.625 kB / 1.428 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.9089, allocations: 119.8 kB / 1.428 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.9089, allocations: 8 kB / 1.428 GB, free: 11.37 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.909, allocations: 16 kB / 1.428 GB, free: 11.35 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.909, allocations: 8 kB / 1.428 GB, free: 11.34 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.909, allocations: 15.88 kB / 1.428 GB, free: 11.33 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.9102, allocations: 0.8949 MB / 1.429 GB, free: 10.35 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.9105, allocations: 208.6 kB / 1.429 GB, free: 10.13 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.642e-05/0.9106, allocations: 19.94 kB / 1.429 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.9111, allocations: 26.62 kB / 1.429 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.9112, allocations: 39.92 kB / 1.429 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.9113, allocations: 31.97 kB / 1.429 GB, free: 10.02 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004333/0.9117, allocations: 398.8 kB / 1.43 GB, free: 9.629 MB / 1.154 GB Notification: Performance of sort global known variables: time 2e-07/0.9117, allocations: 7.938 kB / 1.43 GB, free: 9.621 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006416/0.9124, allocations: 203.9 kB / 1.43 GB, free: 9.422 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001688/0.9141, allocations: 1.522 MB / 1.432 GB, free: 7.824 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0007397/0.9148, allocations: 441.2 kB / 1.432 GB, free: 7.395 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.9148, allocations: 0 / 1.432 GB, free: 7.395 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.9152, allocations: 241.1 kB / 1.432 GB, free: 7.16 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.9173, allocations: 0.4922 MB / 1.433 GB, free: 6.676 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006949/0.9243, allocations: 5.475 MB / 1.438 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/0.9249, allocations: 0.9811 MB / 1.439 GB, free: 15.95 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005753/0.9255, allocations: 157.9 kB / 1.439 GB, free: 15.8 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.9259, allocations: 255.3 kB / 1.439 GB, free: 15.55 MB / 1.17 GB Notification: Performance of SimCode: time 4.81e-07/0.9259, allocations: 0 / 1.439 GB, free: 15.55 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0551/0.981, allocations: 20.37 MB / 1.459 GB, free: 11.53 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/9.445, allocations: 6.438 kB / 1.459 GB, free: 11.52 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches