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.001224/0.001224, allocations: 116.1 kB / 17.17 MB, free: 6 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.001397/0.001397, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.825/2.825, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="cs",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.001996/0.001996, allocations: 67.91 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9576/0.9596, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2192/1.179, allocations: 185.5 MB / 1.503 GB, free: 14.91 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009554/1.188, allocations: 5.375 MB / 1.508 GB, free: 10.5 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/1.19, allocations: 43.62 kB / 1.508 GB, free: 10.46 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/1.191, allocations: 465.3 kB / 1.508 GB, free: 10 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005506/1.197, allocations: 1.74 MB / 1.51 GB, free: 8.258 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/1.199, allocations: 0.8108 MB / 1.511 GB, free: 7.453 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003396/1.203, allocations: 2.203 MB / 1.513 GB, free: 5.242 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009489/1.204, allocations: 0.5798 MB / 1.514 GB, free: 4.652 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/1.206, allocations: 0.9926 MB / 1.515 GB, free: 3.656 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/1.208, allocations: 0.7182 MB / 1.515 GB, free: 2.945 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/1.208, allocations: 76 kB / 1.515 GB, free: 2.871 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/1.212, allocations: 1.477 MB / 1.517 GB, free: 1.391 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004695/1.212, allocations: 331 kB / 1.517 GB, free: 1.066 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007516/1.213, allocations: 477.8 kB / 1.518 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003535/1.217, allocations: 1.666 MB / 1.519 GB, free: 14.93 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.217, allocations: 4 kB / 1.519 GB, free: 14.92 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.603e-06/1.217, allocations: 0 / 1.519 GB, free: 14.92 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.402e-05/1.217, allocations: 0 / 1.519 GB, free: 14.92 MB / 1.201 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.002053/1.219, allocations: 1.21 MB / 1.52 GB, free: 13.66 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.219, allocations: 11.98 kB / 1.52 GB, free: 13.64 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.742e-05/1.219, allocations: 17.31 kB / 1.52 GB, free: 13.63 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/1.219, allocations: 98.52 kB / 1.52 GB, free: 13.52 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/1.221, allocations: 283.2 kB / 1.521 GB, free: 13.25 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/1.222, allocations: 0.7143 MB / 1.521 GB, free: 12.49 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/1.222, allocations: 45.31 kB / 1.521 GB, free: 12.45 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/1.222, allocations: 60 kB / 1.522 GB, free: 12.39 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/1.223, allocations: 0.5804 MB / 1.522 GB, free: 11.8 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/1.223, allocations: 0 / 1.522 GB, free: 11.8 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.976e-05/1.223, allocations: 23.98 kB / 1.522 GB, free: 11.78 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-05/1.223, allocations: 29.31 kB / 1.522 GB, free: 11.75 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009127/1.224, allocations: 0.5048 MB / 1.523 GB, free: 11.24 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/1.228, allocations: 2.535 MB / 1.525 GB, free: 8.484 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/1.228, allocations: 417.5 kB / 1.525 GB, free: 8.074 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/1.229, allocations: 220.7 kB / 1.526 GB, free: 7.855 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/1.229, allocations: 101.1 kB / 1.526 GB, free: 7.738 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/1.229, allocations: 42.5 kB / 1.526 GB, free: 7.688 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.235e-06/1.229, allocations: 0 / 1.526 GB, free: 7.688 MB / 1.201 GB Notification: Performance of matching and sorting (n=48): time 0.002978/1.232, allocations: 1.452 MB / 1.527 GB, free: 6.188 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/1.232, allocations: 55.84 kB / 1.527 GB, free: 6.121 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/1.233, allocations: 0.546 MB / 1.528 GB, free: 5.562 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/1.233, allocations: 33.7 kB / 1.528 GB, free: 5.523 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/1.233, allocations: 325.2 kB / 1.528 GB, free: 5.203 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/1.233, allocations: 174.4 kB / 1.528 GB, free: 5.031 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/1.233, allocations: 90.2 kB / 1.528 GB, free: 4.938 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.233, allocations: 382.7 kB / 1.529 GB, free: 4.555 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/1.234, allocations: 177 kB / 1.529 GB, free: 4.383 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/1.234, allocations: 256.8 kB / 1.529 GB, free: 4.105 MB / 1.201 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.003473/1.238, allocations: 1.435 MB / 1.531 GB, free: 2.617 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.238, allocations: 8 kB / 1.531 GB, free: 2.609 MB / 1.201 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009866/1.239, allocations: 0.5308 MB / 1.531 GB, free: 2.07 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.239, allocations: 8 kB / 1.531 GB, free: 2.062 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.239, allocations: 0 / 1.531 GB, free: 2.062 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/1.239, allocations: 4 kB / 1.531 GB, free: 2.059 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/1.239, allocations: 95.84 kB / 1.531 GB, free: 1.965 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/1.239, allocations: 7.984 kB / 1.531 GB, free: 1.957 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/1.24, allocations: 27.98 kB / 1.531 GB, free: 1.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/1.24, allocations: 16 kB / 1.531 GB, free: 1.914 MB / 1.201 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.0004377/1.24, allocations: 245.7 kB / 1.532 GB, free: 1.664 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/1.24, allocations: 71.58 kB / 1.532 GB, free: 1.594 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/1.241, allocations: 82.45 kB / 1.532 GB, free: 1.508 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/1.241, allocations: 4 kB / 1.532 GB, free: 1.504 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/1.241, allocations: 0 / 1.532 GB, free: 1.504 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008401/1.241, allocations: 0.5144 MB / 1.532 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/1.244, allocations: 1.586 MB / 1.534 GB, free: 15.26 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.244, allocations: 4 kB / 1.534 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/1.245, allocations: 115.8 kB / 1.534 GB, free: 15.14 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/1.245, allocations: 8 kB / 1.534 GB, free: 15.13 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/1.245, allocations: 19.98 kB / 1.534 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/1.245, allocations: 15.88 kB / 1.534 GB, free: 15.1 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.245, allocations: 4 kB / 1.534 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/1.246, allocations: 0.8989 MB / 1.535 GB, free: 14.11 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/1.246, allocations: 200.6 kB / 1.535 GB, free: 13.9 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.738e-05/1.246, allocations: 19.98 kB / 1.535 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/1.247, allocations: 22.58 kB / 1.535 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.247, allocations: 51.77 kB / 1.535 GB, free: 13.81 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/1.247, allocations: 23.98 kB / 1.535 GB, free: 13.79 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005197/1.248, allocations: 398.8 kB / 1.535 GB, free: 13.4 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.248, allocations: 3.938 kB / 1.535 GB, free: 13.39 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007289/1.248, allocations: 203.9 kB / 1.536 GB, free: 13.2 MB / 1.217 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.001868/1.25, allocations: 1.509 MB / 1.537 GB, free: 11.6 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008057/1.251, allocations: 433.2 kB / 1.538 GB, free: 11.18 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.251, allocations: 4 kB / 1.538 GB, free: 11.18 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/1.251, allocations: 216.8 kB / 1.538 GB, free: 10.96 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/1.253, allocations: 0.4926 MB / 1.538 GB, free: 10.48 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00759/1.261, allocations: 5.494 MB / 1.544 GB, free: 4.75 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/1.262, allocations: 0.9772 MB / 1.545 GB, free: 3.742 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006193/1.262, allocations: 161.8 kB / 1.545 GB, free: 3.582 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/1.263, allocations: 247.4 kB / 1.545 GB, free: 3.34 MB / 1.217 GB Notification: Performance of SimCode: time 1.092e-06/1.263, allocations: 0 / 1.545 GB, free: 3.34 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05197/1.315, allocations: 20.47 MB / 1.565 GB, free: 15.26 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.079/10.39, allocations: 10.67 kB / 1.565 GB, free: 15.25 MB / 1.248 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.57793557603145]