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.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.001432/0.001432, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00161/0.00161, allocations: 215.5 kB / 22.25 MB, free: 5.074 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.324/1.324, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.913/2.913, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.001853/0.001853, allocations: 75.53 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2953, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.196/0.4913, allocations: 185.8 MB / 1.534 GB, free: 14.02 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.008384/0.4997, allocations: 5.406 MB / 1.54 GB, free: 8.602 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009598/0.5007, allocations: 47.62 kB / 1.54 GB, free: 8.555 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.502, allocations: 461.3 kB / 1.54 GB, free: 8.102 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004072/0.506, allocations: 1.766 MB / 1.542 GB, free: 6.328 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.508, allocations: 0.8487 MB / 1.543 GB, free: 5.484 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003052/0.5111, allocations: 2.277 MB / 1.545 GB, free: 3.195 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009/0.512, allocations: 0.5373 MB / 1.545 GB, free: 2.648 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.5138, allocations: 0.9889 MB / 1.546 GB, free: 1.656 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.5157, allocations: 0.7356 MB / 1.547 GB, free: 0.9297 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.5159, allocations: 76 kB / 1.547 GB, free: 0.8555 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.5185, allocations: 1.496 MB / 1.549 GB, free: 15.36 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004301/0.5189, allocations: 331 kB / 1.549 GB, free: 15.03 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0007278/0.5197, allocations: 477.9 kB / 1.549 GB, free: 14.56 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002637/0.5223, allocations: 1.67 MB / 1.551 GB, free: 12.89 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5223, allocations: 4 kB / 1.551 GB, free: 12.88 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5223, allocations: 0 / 1.551 GB, free: 12.88 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.005e-05/0.5223, allocations: 0 / 1.551 GB, free: 12.88 MB / 1.248 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.002069/0.5244, allocations: 1.135 MB / 1.552 GB, free: 11.71 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.5244, allocations: 11.97 kB / 1.552 GB, free: 11.7 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.5246, allocations: 102.5 kB / 1.552 GB, free: 11.59 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.5263, allocations: 275.1 kB / 1.552 GB, free: 11.32 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.5275, allocations: 0.6461 MB / 1.553 GB, free: 10.65 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.5275, allocations: 45.31 kB / 1.553 GB, free: 10.6 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.171e-05/0.5276, allocations: 56 kB / 1.553 GB, free: 10.55 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009758/0.5286, allocations: 0.5804 MB / 1.554 GB, free: 9.965 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.5286, allocations: 4 kB / 1.554 GB, free: 9.961 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.5287, allocations: 24 kB / 1.554 GB, free: 9.938 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.5287, allocations: 25.3 kB / 1.554 GB, free: 9.91 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008624/0.5296, allocations: 0.5048 MB / 1.554 GB, free: 9.402 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003177/0.5327, allocations: 2.484 MB / 1.557 GB, free: 6.695 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/0.5335, allocations: 423.9 kB / 1.557 GB, free: 6.273 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.5338, allocations: 210.9 kB / 1.557 GB, free: 6.066 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.534, allocations: 31.91 kB / 1.557 GB, free: 6.035 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.534, allocations: 42.56 kB / 1.557 GB, free: 5.984 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 1.784e-06/0.534, allocations: 0 / 1.557 GB, free: 5.984 MB / 1.248 GB Notification: Performance of matching and sorting (n=48): time 0.002627/0.5366, allocations: 1.374 MB / 1.559 GB, free: 4.578 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.5367, allocations: 59.84 kB / 1.559 GB, free: 4.508 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/0.5373, allocations: 0.5421 MB / 1.559 GB, free: 3.953 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.5373, allocations: 33.7 kB / 1.559 GB, free: 3.914 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.5376, allocations: 329.1 kB / 1.56 GB, free: 3.59 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.5377, allocations: 178.4 kB / 1.56 GB, free: 3.414 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.5379, allocations: 90.14 kB / 1.56 GB, free: 3.32 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.538, allocations: 374.7 kB / 1.56 GB, free: 2.945 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.5383, allocations: 176.9 kB / 1.56 GB, free: 2.773 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.5387, allocations: 256.2 kB / 1.561 GB, free: 2.5 MB / 1.248 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.003146/0.5418, allocations: 1.296 MB / 1.562 GB, free: 1.184 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5418, allocations: 0 / 1.562 GB, free: 1.184 MB / 1.248 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008191/0.5426, allocations: 0.5347 MB / 1.562 GB, free: 0.6445 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.5427, allocations: 7.984 kB / 1.562 GB, free: 0.6367 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5427, allocations: 3.938 kB / 1.562 GB, free: 0.6328 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.5427, allocations: 4 kB / 1.562 GB, free: 0.6289 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.5431, allocations: 95.84 kB / 1.563 GB, free: 0.5352 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.5431, allocations: 4 kB / 1.563 GB, free: 0.5312 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.5436, allocations: 23.92 kB / 1.563 GB, free: 0.5078 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.5436, allocations: 16.16 kB / 1.563 GB, free: 0.4922 MB / 1.248 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.0002951/0.5439, allocations: 256.5 kB / 1.563 GB, free: 240 kB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.544, allocations: 67.58 kB / 1.563 GB, free: 172 kB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.5442, allocations: 78.45 kB / 1.563 GB, free: 92 kB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5442, allocations: 4 kB / 1.563 GB, free: 88 kB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5442, allocations: 0 / 1.563 GB, free: 88 kB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007205/0.5449, allocations: 0.5183 MB / 1.564 GB, free: 15.54 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.5473, allocations: 1.549 MB / 1.565 GB, free: 13.88 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.5473, allocations: 8 kB / 1.565 GB, free: 13.87 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.5478, allocations: 115.9 kB / 1.565 GB, free: 13.75 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.5478, allocations: 8 kB / 1.565 GB, free: 13.75 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.5479, allocations: 23.98 kB / 1.565 GB, free: 13.72 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.5479, allocations: 8 kB / 1.565 GB, free: 13.71 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.5479, allocations: 15.81 kB / 1.565 GB, free: 13.7 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.5491, allocations: 0.8949 MB / 1.566 GB, free: 12.73 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.5494, allocations: 123.6 kB / 1.566 GB, free: 12.61 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-05/0.5495, allocations: 19.98 kB / 1.566 GB, free: 12.59 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.5499, allocations: 20 kB / 1.566 GB, free: 12.57 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/0.55, allocations: 47.75 kB / 1.566 GB, free: 12.52 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.5501, allocations: 28 kB / 1.566 GB, free: 12.49 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0004411/0.5505, allocations: 402.8 kB / 1.567 GB, free: 12.1 MB / 1.264 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5505, allocations: 0 / 1.567 GB, free: 12.1 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0005902/0.5511, allocations: 196 kB / 1.567 GB, free: 11.91 MB / 1.264 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.001604/0.5527, allocations: 1.518 MB / 1.568 GB, free: 10.31 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0007339/0.5534, allocations: 421.4 kB / 1.569 GB, free: 9.895 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.5534, allocations: 11.94 kB / 1.569 GB, free: 9.883 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.5538, allocations: 215.6 kB / 1.569 GB, free: 9.672 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.5557, allocations: 495.1 kB / 1.569 GB, free: 9.203 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006906/0.5626, allocations: 5.509 MB / 1.575 GB, free: 3.453 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.5632, allocations: 0.9773 MB / 1.576 GB, free: 2.445 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0005363/0.5637, allocations: 165.8 kB / 1.576 GB, free: 2.281 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.5641, allocations: 247.4 kB / 1.576 GB, free: 2.039 MB / 1.264 GB Notification: Performance of SimCode: time 4.81e-07/0.5641, allocations: 4 kB / 1.576 GB, free: 2.035 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05273/0.6168, allocations: 20.84 MB / 1.597 GB, free: 13.49 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.86, allocations: 0 / 1.597 GB, free: 13.49 MB / 1.295 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.34191237599589]