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.001408/0.001408, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001563/0.001563, allocations: 224.1 kB / 23.05 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.331/1.331, allocations: 230.6 MB / 256.8 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.88/2.88, allocations: 0.49 GB / 0.7959 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="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.00185/0.00185, allocations: 65.97 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2819, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1987/0.4806, allocations: 185.8 MB / 1.508 GB, free: 7.527 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.008089/0.4887, allocations: 5.421 MB / 1.513 GB, free: 2.102 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006083/0.4893, allocations: 47.62 kB / 1.513 GB, free: 2.055 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.4904, allocations: 465.3 kB / 1.514 GB, free: 1.598 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003562/0.4939, allocations: 1.762 MB / 1.516 GB, free: 15.82 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.4957, allocations: 0.8428 MB / 1.516 GB, free: 14.99 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00269/0.4984, allocations: 2.289 MB / 1.519 GB, free: 12.69 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000747/0.4991, allocations: 0.5333 MB / 1.519 GB, free: 12.15 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.5006, allocations: 0.9928 MB / 1.52 GB, free: 11.15 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.5022, allocations: 0.7353 MB / 1.521 GB, free: 10.43 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.5023, allocations: 76 kB / 1.521 GB, free: 10.35 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.5047, allocations: 1.493 MB / 1.522 GB, free: 8.855 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003371/0.505, allocations: 343 kB / 1.523 GB, free: 8.52 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004522/0.5055, allocations: 469.9 kB / 1.523 GB, free: 8.059 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.5075, allocations: 1.67 MB / 1.525 GB, free: 6.383 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5075, allocations: 4 kB / 1.525 GB, free: 6.379 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5075, allocations: 0 / 1.525 GB, free: 6.379 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.5076, allocations: 0 / 1.525 GB, free: 6.379 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.001759/0.5093, allocations: 1.127 MB / 1.526 GB, free: 5.215 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.5093, allocations: 8.031 kB / 1.526 GB, free: 5.207 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.217e-05/0.5094, allocations: 17.31 kB / 1.526 GB, free: 5.191 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.5095, allocations: 106.4 kB / 1.526 GB, free: 5.078 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.5112, allocations: 283.1 kB / 1.526 GB, free: 4.801 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.5123, allocations: 0.6383 MB / 1.527 GB, free: 4.133 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.5123, allocations: 45.31 kB / 1.527 GB, free: 4.09 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.549e-05/0.5124, allocations: 63.98 kB / 1.527 GB, free: 4.027 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009745/0.5134, allocations: 0.5804 MB / 1.528 GB, free: 3.438 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.5134, allocations: 4 kB / 1.528 GB, free: 3.434 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.5135, allocations: 24 kB / 1.528 GB, free: 3.41 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.5135, allocations: 21.31 kB / 1.528 GB, free: 3.391 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008777/0.5144, allocations: 0.5087 MB / 1.528 GB, free: 2.883 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.5176, allocations: 2.48 MB / 1.531 GB, free: 192 kB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007882/0.5183, allocations: 424.4 kB / 1.531 GB, free: 15.77 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.5187, allocations: 212.8 kB / 1.531 GB, free: 15.55 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.5188, allocations: 15.98 kB / 1.531 GB, free: 15.54 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.5188, allocations: 46.5 kB / 1.531 GB, free: 15.48 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 1.744e-06/0.5188, allocations: 0 / 1.531 GB, free: 15.48 MB / 1.232 GB Notification: Performance of matching and sorting (n=48): time 0.002705/0.5215, allocations: 1.381 MB / 1.533 GB, free: 14.07 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.5216, allocations: 55.84 kB / 1.533 GB, free: 14 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006121/0.5222, allocations: 0.546 MB / 1.533 GB, free: 13.45 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.5222, allocations: 37.7 kB / 1.533 GB, free: 13.4 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.5225, allocations: 329.1 kB / 1.533 GB, free: 13.08 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.5226, allocations: 182.4 kB / 1.534 GB, free: 12.9 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.5228, allocations: 86.19 kB / 1.534 GB, free: 12.81 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.523, allocations: 370.8 kB / 1.534 GB, free: 12.44 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.5233, allocations: 176.9 kB / 1.534 GB, free: 12.27 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/0.5236, allocations: 256.2 kB / 1.534 GB, free: 11.99 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.003235/0.5269, allocations: 1.296 MB / 1.536 GB, free: 10.68 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5269, allocations: 0 / 1.536 GB, free: 10.68 MB / 1.232 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009118/0.5278, allocations: 0.5346 MB / 1.536 GB, free: 10.14 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5278, allocations: 4 kB / 1.536 GB, free: 10.13 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.5278, allocations: 4 kB / 1.536 GB, free: 10.13 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.5278, allocations: 4 kB / 1.536 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.5282, allocations: 95.89 kB / 1.536 GB, free: 10.03 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.5282, allocations: 7.938 kB / 1.536 GB, free: 10.02 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.5288, allocations: 21.14 kB / 1.536 GB, free: 10 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.5288, allocations: 20 kB / 1.536 GB, free: 9.984 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.0003455/0.5292, allocations: 249.6 kB / 1.537 GB, free: 9.73 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.5293, allocations: 71.58 kB / 1.537 GB, free: 9.66 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.5295, allocations: 78.45 kB / 1.537 GB, free: 9.582 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5295, allocations: 8 kB / 1.537 GB, free: 9.574 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5295, allocations: 0 / 1.537 GB, free: 9.574 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007738/0.5303, allocations: 0.5144 MB / 1.537 GB, free: 9.027 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.5328, allocations: 1.549 MB / 1.539 GB, free: 7.367 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.5328, allocations: 8.125 kB / 1.539 GB, free: 7.359 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.5333, allocations: 115.8 kB / 1.539 GB, free: 7.246 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.5333, allocations: 8 kB / 1.539 GB, free: 7.238 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.5334, allocations: 20 kB / 1.539 GB, free: 7.219 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.5334, allocations: 7.938 kB / 1.539 GB, free: 7.211 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.518e-05/0.5334, allocations: 15.92 kB / 1.539 GB, free: 7.195 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.5346, allocations: 0.9026 MB / 1.54 GB, free: 6.215 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.5349, allocations: 119.6 kB / 1.54 GB, free: 6.098 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.516e-05/0.535, allocations: 20 kB / 1.54 GB, free: 6.078 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/0.5355, allocations: 20.55 kB / 1.54 GB, free: 6.059 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.5356, allocations: 47.81 kB / 1.54 GB, free: 6.012 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.5356, allocations: 27.98 kB / 1.54 GB, free: 5.984 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004539/0.5361, allocations: 394.8 kB / 1.54 GB, free: 5.602 MB / 1.232 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5361, allocations: 0 / 1.54 GB, free: 5.602 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000627/0.5367, allocations: 203.9 kB / 1.541 GB, free: 5.402 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.001686/0.5384, allocations: 1.52 MB / 1.542 GB, free: 3.797 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0007713/0.5392, allocations: 429.2 kB / 1.543 GB, free: 3.375 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5392, allocations: 0 / 1.543 GB, free: 3.375 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.5395, allocations: 225.1 kB / 1.543 GB, free: 3.156 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.5416, allocations: 495.8 kB / 1.543 GB, free: 2.68 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007323/0.5489, allocations: 5.501 MB / 1.549 GB, free: 12.94 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/0.5495, allocations: 0.9773 MB / 1.55 GB, free: 11.94 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005301/0.5501, allocations: 161.8 kB / 1.55 GB, free: 11.78 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.5504, allocations: 255.4 kB / 1.55 GB, free: 11.53 MB / 1.248 GB Notification: Performance of SimCode: time 6.11e-07/0.5504, allocations: 0 / 1.55 GB, free: 11.53 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0497/0.6001, allocations: 20.87 MB / 1.57 GB, free: 7.016 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.93, allocations: 12.56 kB / 1.57 GB, free: 7.008 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 & /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: 18.008451308007352]