Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 215.3 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.317/1.317, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.854/2.854, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 68.39 kB / 1.154 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2864, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1974/0.4838, allocations: 185.8 MB / 1.507 GB, free: 7.477 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.008556/0.4923, allocations: 5.412 MB / 1.513 GB, free: 2.055 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008303/0.4932, allocations: 43.62 kB / 1.513 GB, free: 2.012 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.4943, allocations: 465.3 kB / 1.513 GB, free: 1.555 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00365/0.4979, allocations: 1.774 MB / 1.515 GB, free: 15.77 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.4997, allocations: 0.8485 MB / 1.516 GB, free: 14.93 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002628/0.5023, allocations: 2.275 MB / 1.518 GB, free: 12.65 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007236/0.5031, allocations: 0.5451 MB / 1.518 GB, free: 12.09 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.5045, allocations: 0.9966 MB / 1.519 GB, free: 11.09 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.506, allocations: 0.7214 MB / 1.52 GB, free: 10.38 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.5062, allocations: 75.94 kB / 1.52 GB, free: 10.3 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.5085, allocations: 1.5 MB / 1.522 GB, free: 8.801 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003295/0.5089, allocations: 335 kB / 1.522 GB, free: 8.473 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004668/0.5093, allocations: 473.9 kB / 1.522 GB, free: 8.008 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.5113, allocations: 1.674 MB / 1.524 GB, free: 6.328 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5113, allocations: 0 / 1.524 GB, free: 6.328 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5114, allocations: 0 / 1.524 GB, free: 6.328 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.5114, allocations: 0 / 1.524 GB, free: 6.328 MB / 1.217 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.001714/0.5131, allocations: 1.127 MB / 1.525 GB, free: 5.164 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5131, allocations: 12.03 kB / 1.525 GB, free: 5.152 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.5132, allocations: 102.5 kB / 1.525 GB, free: 5.043 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.5149, allocations: 275.2 kB / 1.525 GB, free: 4.773 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.516, allocations: 0.6461 MB / 1.526 GB, free: 4.098 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.5161, allocations: 49.25 kB / 1.526 GB, free: 4.047 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.5162, allocations: 59.94 kB / 1.526 GB, free: 3.988 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009764/0.5171, allocations: 0.5843 MB / 1.527 GB, free: 3.402 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.5172, allocations: 4 kB / 1.527 GB, free: 3.398 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.5172, allocations: 20 kB / 1.527 GB, free: 3.379 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.5173, allocations: 21.31 kB / 1.527 GB, free: 3.355 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008579/0.5181, allocations: 0.497 MB / 1.527 GB, free: 2.855 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.5213, allocations: 2.492 MB / 1.53 GB, free: 152 kB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007899/0.5221, allocations: 422.8 kB / 1.53 GB, free: 15.72 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.5224, allocations: 204.8 kB / 1.53 GB, free: 15.52 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.5226, allocations: 27.98 kB / 1.53 GB, free: 15.49 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.5226, allocations: 42.56 kB / 1.53 GB, free: 15.44 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 1.723e-06/0.5226, allocations: 0 / 1.53 GB, free: 15.44 MB / 1.232 GB Notification: Performance of matching and sorting (n=48): time 0.002657/0.5253, allocations: 1.373 MB / 1.532 GB, free: 14.04 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.5253, allocations: 59.84 kB / 1.532 GB, free: 13.97 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006159/0.5259, allocations: 0.5421 MB / 1.532 GB, free: 13.41 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.526, allocations: 33.7 kB / 1.532 GB, free: 13.38 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.5262, allocations: 337.1 kB / 1.533 GB, free: 13.04 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.5264, allocations: 174.4 kB / 1.533 GB, free: 12.87 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.5265, allocations: 86.19 kB / 1.533 GB, free: 12.78 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5267, allocations: 378.7 kB / 1.533 GB, free: 12.4 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.527, allocations: 172.9 kB / 1.533 GB, free: 12.23 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/0.5274, allocations: 260.1 kB / 1.534 GB, free: 11.96 MB / 1.232 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.003183/0.5305, allocations: 1.296 MB / 1.535 GB, free: 10.64 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5305, allocations: 0 / 1.535 GB, free: 10.64 MB / 1.232 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008544/0.5314, allocations: 0.5347 MB / 1.536 GB, free: 10.1 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5314, allocations: 4 kB / 1.536 GB, free: 10.1 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5314, allocations: 4 kB / 1.536 GB, free: 10.09 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.5314, allocations: 4 kB / 1.536 GB, free: 10.09 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.5318, allocations: 95.89 kB / 1.536 GB, free: 9.996 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5318, allocations: 3.938 kB / 1.536 GB, free: 9.992 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/0.5324, allocations: 35.78 kB / 1.536 GB, free: 9.961 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.5324, allocations: 12 kB / 1.536 GB, free: 9.949 MB / 1.232 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.000313/0.5327, allocations: 249.9 kB / 1.536 GB, free: 9.695 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.5328, allocations: 71.58 kB / 1.536 GB, free: 9.625 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.533, allocations: 74.45 kB / 1.536 GB, free: 9.551 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.533, allocations: 8 kB / 1.536 GB, free: 9.543 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.533, allocations: 0 / 1.536 GB, free: 9.543 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007083/0.5337, allocations: 0.5144 MB / 1.537 GB, free: 9 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.536, allocations: 1.561 MB / 1.538 GB, free: 7.328 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.536, allocations: 4.625 kB / 1.538 GB, free: 7.324 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.5365, allocations: 111.9 kB / 1.538 GB, free: 7.215 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.5365, allocations: 8 kB / 1.538 GB, free: 7.207 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.5366, allocations: 16 kB / 1.538 GB, free: 7.191 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.5366, allocations: 15.92 kB / 1.538 GB, free: 7.176 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.5366, allocations: 11.94 kB / 1.538 GB, free: 7.164 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.5378, allocations: 0.8948 MB / 1.539 GB, free: 6.188 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.538, allocations: 123.6 kB / 1.539 GB, free: 6.066 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.642e-05/0.5381, allocations: 20 kB / 1.539 GB, free: 6.047 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.5386, allocations: 17.81 kB / 1.539 GB, free: 6.031 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.5387, allocations: 51.75 kB / 1.539 GB, free: 5.98 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.5387, allocations: 24 kB / 1.539 GB, free: 5.957 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004492/0.5391, allocations: 398.8 kB / 1.54 GB, free: 5.57 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5391, allocations: 3.938 kB / 1.54 GB, free: 5.566 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000606/0.5398, allocations: 196 kB / 1.54 GB, free: 5.375 MB / 1.232 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.001665/0.5414, allocations: 1.522 MB / 1.541 GB, free: 3.77 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0007686/0.5422, allocations: 425.5 kB / 1.542 GB, free: 3.355 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5422, allocations: 0 / 1.542 GB, free: 3.355 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.5426, allocations: 227.6 kB / 1.542 GB, free: 3.133 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.5445, allocations: 0.5011 MB / 1.542 GB, free: 2.645 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007233/0.5518, allocations: 5.501 MB / 1.548 GB, free: 12.9 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.5524, allocations: 0.9773 MB / 1.549 GB, free: 11.89 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005359/0.5529, allocations: 161.8 kB / 1.549 GB, free: 11.73 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.5533, allocations: 247.4 kB / 1.549 GB, free: 11.49 MB / 1.248 GB Notification: Performance of SimCode: time 6.01e-07/0.5533, allocations: 4 kB / 1.549 GB, free: 11.49 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05401/0.6073, allocations: 20.84 MB / 1.57 GB, free: 6.996 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.44, allocations: 5.375 kB / 1.57 GB, free: 6.992 MB / 1.264 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable volSim.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv. Warning: Get data of variable volSim.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv failed! Error: Could not read variable volExa.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv. Warning: Get data of variable volExa.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv failed! Error: Could not read variable relErr.y in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv. Warning: Get data of variable relErr.y from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.40504346600028]