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 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.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.005488/0.005488, 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.001572/0.001572, allocations: 198.9 kB / 16.67 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 1.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 482.4 MB / 0.7548 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.003214/0.003214, allocations: 68.94 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2889, allocations: 162.2 MB / 1.241 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1959/0.4849, allocations: 181.9 MB / 1.419 GB, free: 2.637 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.008251/0.4932, allocations: 5.371 MB / 1.424 GB, free: 13.25 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006807/0.4939, allocations: 35.81 kB / 1.424 GB, free: 13.22 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.495, allocations: 429.4 kB / 1.425 GB, free: 12.8 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003715/0.4987, allocations: 1.68 MB / 1.426 GB, free: 11.11 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.5007, allocations: 0.8062 MB / 1.427 GB, free: 10.31 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002801/0.5035, allocations: 2.203 MB / 1.429 GB, free: 8.105 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009406/0.5044, allocations: 0.6852 MB / 1.43 GB, free: 7.41 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.506, allocations: 0.9341 MB / 1.431 GB, free: 6.473 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.5076, allocations: 0.6758 MB / 1.432 GB, free: 5.805 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.5078, allocations: 72 kB / 1.432 GB, free: 5.734 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.5104, allocations: 1.391 MB / 1.433 GB, free: 4.34 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.5107, allocations: 319.1 kB / 1.433 GB, free: 4.027 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005435/0.5113, allocations: 477.8 kB / 1.434 GB, free: 3.559 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.5137, allocations: 1.663 MB / 1.435 GB, free: 1.891 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5137, allocations: 4 kB / 1.435 GB, free: 1.887 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5137, allocations: 3.938 kB / 1.435 GB, free: 1.883 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.5137, allocations: 4 kB / 1.435 GB, free: 1.879 MB / 1.154 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.001864/0.5156, allocations: 1.202 MB / 1.437 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.5156, allocations: 12.03 kB / 1.437 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.5158, allocations: 98.52 kB / 1.437 GB, free: 0.5039 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.5176, allocations: 279.2 kB / 1.437 GB, free: 236 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.5188, allocations: 0.7182 MB / 1.438 GB, free: 15.47 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.5188, allocations: 49.31 kB / 1.438 GB, free: 15.42 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5189, allocations: 63.98 kB / 1.438 GB, free: 15.36 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.52, allocations: 0.5765 MB / 1.438 GB, free: 14.78 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.52, allocations: 0 / 1.438 GB, free: 14.78 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/0.5201, allocations: 28 kB / 1.438 GB, free: 14.75 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.5202, allocations: 21.31 kB / 1.438 GB, free: 14.73 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/0.5211, allocations: 0.5048 MB / 1.439 GB, free: 14.22 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003313/0.5244, allocations: 2.535 MB / 1.441 GB, free: 11.46 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008412/0.5253, allocations: 425.1 kB / 1.442 GB, free: 11.04 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.5257, allocations: 220.7 kB / 1.442 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.5259, allocations: 105.1 kB / 1.442 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.5259, allocations: 38.56 kB / 1.442 GB, free: 10.65 MB / 1.17 GB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/0.5259, allocations: 3.938 kB / 1.442 GB, free: 10.64 MB / 1.17 GB Notification: Performance of matching and sorting (n=48): time 0.00295/0.5289, allocations: 1.451 MB / 1.444 GB, free: 9.141 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.5289, allocations: 55.84 kB / 1.444 GB, free: 9.074 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/0.5296, allocations: 0.5383 MB / 1.444 GB, free: 8.523 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.5296, allocations: 37.7 kB / 1.444 GB, free: 8.48 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.5299, allocations: 337.1 kB / 1.445 GB, free: 8.145 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.5301, allocations: 174.5 kB / 1.445 GB, free: 7.973 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.5302, allocations: 94.14 kB / 1.445 GB, free: 7.875 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.5304, allocations: 378.7 kB / 1.445 GB, free: 7.496 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.5308, allocations: 177 kB / 1.445 GB, free: 7.32 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.5312, allocations: 256.8 kB / 1.446 GB, free: 7.051 MB / 1.17 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.00359/0.5348, allocations: 1.439 MB / 1.447 GB, free: 5.559 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5348, allocations: 0 / 1.447 GB, free: 5.559 MB / 1.17 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009449/0.5357, allocations: 0.5307 MB / 1.447 GB, free: 5.023 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5358, allocations: 12.14 kB / 1.447 GB, free: 5.012 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5358, allocations: 0 / 1.447 GB, free: 5.012 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5358, allocations: 4 kB / 1.447 GB, free: 5.008 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.5362, allocations: 99.78 kB / 1.448 GB, free: 4.91 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.5362, allocations: 4 kB / 1.448 GB, free: 4.906 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.5368, allocations: 23.91 kB / 1.448 GB, free: 4.883 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.5369, allocations: 16 kB / 1.448 GB, free: 4.867 MB / 1.17 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.000326/0.5372, allocations: 254.8 kB / 1.448 GB, free: 4.609 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5373, allocations: 79.61 kB / 1.448 GB, free: 4.531 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.5375, allocations: 74.45 kB / 1.448 GB, free: 4.457 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5375, allocations: 4 kB / 1.448 GB, free: 4.453 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5375, allocations: 4 kB / 1.448 GB, free: 4.449 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007769/0.5383, allocations: 0.5105 MB / 1.449 GB, free: 3.906 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.5408, allocations: 1.588 MB / 1.45 GB, free: 2.195 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.5408, allocations: 4 kB / 1.45 GB, free: 2.191 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.5413, allocations: 111.8 kB / 1.45 GB, free: 2.082 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.5413, allocations: 8.625 kB / 1.45 GB, free: 2.074 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.5414, allocations: 16 kB / 1.45 GB, free: 2.059 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/0.5414, allocations: 15.98 kB / 1.45 GB, free: 2.043 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.5414, allocations: 11.88 kB / 1.45 GB, free: 2.031 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.5427, allocations: 0.9066 MB / 1.451 GB, free: 1.051 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.543, allocations: 200.7 kB / 1.451 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.449e-05/0.5431, allocations: 23.92 kB / 1.451 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005463/0.5437, allocations: 23.95 kB / 1.451 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.5438, allocations: 47.77 kB / 1.451 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.5438, allocations: 24 kB / 1.451 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004788/0.5443, allocations: 394.8 kB / 1.452 GB, free: 344 kB / 1.17 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5443, allocations: 4 kB / 1.452 GB, free: 340 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006477/0.545, allocations: 203.9 kB / 1.452 GB, free: 136 kB / 1.17 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.00188/0.5468, allocations: 1.526 MB / 1.453 GB, free: 14.53 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008455/0.5477, allocations: 445.6 kB / 1.454 GB, free: 14.09 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5477, allocations: 0 / 1.454 GB, free: 14.09 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003936/0.5481, allocations: 231.6 kB / 1.454 GB, free: 13.86 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.5503, allocations: 499.7 kB / 1.455 GB, free: 13.39 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007492/0.5578, allocations: 5.483 MB / 1.46 GB, free: 7.664 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.5585, allocations: 0.9772 MB / 1.461 GB, free: 6.656 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005569/0.559, allocations: 165.8 kB / 1.461 GB, free: 6.492 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/0.5594, allocations: 250.5 kB / 1.461 GB, free: 6.254 MB / 1.186 GB Notification: Performance of SimCode: time 5.31e-07/0.5594, allocations: 4 kB / 1.461 GB, free: 6.25 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04843/0.6079, allocations: 20.37 MB / 1.481 GB, free: 2.234 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.854/9.462, allocations: 7.797 kB / 1.481 GB, free: 2.227 MB / 1.201 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 400 --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