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.001136/0.001136, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001529/0.001529, allocations: 219 kB / 23.03 MB, free: 4.945 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.362/1.362, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.946/2.946, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.001935/0.001935, allocations: 72.98 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3048, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1946/0.4994, allocations: 160.6 MB / 1.483 GB, free: 340 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008733/0.5081, allocations: 5.055 MB / 1.488 GB, free: 11.27 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009517/0.5091, allocations: 51.62 kB / 1.488 GB, free: 11.22 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.5102, allocations: 425.4 kB / 1.489 GB, free: 10.8 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004357/0.5146, allocations: 1.754 MB / 1.491 GB, free: 9.039 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.5168, allocations: 0.8299 MB / 1.491 GB, free: 8.215 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00332/0.5201, allocations: 2.285 MB / 1.494 GB, free: 5.926 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008587/0.521, allocations: 0.5412 MB / 1.494 GB, free: 5.371 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.523, allocations: 0.9966 MB / 1.495 GB, free: 4.371 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.5249, allocations: 0.7225 MB / 1.496 GB, free: 3.656 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.525, allocations: 76 kB / 1.496 GB, free: 3.582 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.5275, allocations: 1.153 MB / 1.497 GB, free: 2.426 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004213/0.5279, allocations: 331 kB / 1.497 GB, free: 2.102 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005527/0.5285, allocations: 394.3 kB / 1.498 GB, free: 1.715 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.531, allocations: 1.631 MB / 1.499 GB, free: 80 kB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.531, allocations: 4 kB / 1.499 GB, free: 76 kB / 1.186 GB Notification: Performance of FrontEnd: time 1.503e-06/0.531, allocations: 0 / 1.499 GB, free: 76 kB / 1.186 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.531, allocations: 0 / 1.499 GB, free: 76 kB / 1.186 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.002222/0.5333, allocations: 1.131 MB / 1.5 GB, free: 14.9 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5333, allocations: 8.031 kB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.265e-05/0.5333, allocations: 21.31 kB / 1.5 GB, free: 14.88 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.5335, allocations: 102.5 kB / 1.5 GB, free: 14.77 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.5354, allocations: 275.2 kB / 1.501 GB, free: 14.5 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.5367, allocations: 0.65 MB / 1.501 GB, free: 13.82 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.5368, allocations: 45.31 kB / 1.501 GB, free: 13.77 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.5369, allocations: 60 kB / 1.501 GB, free: 13.71 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.5382, allocations: 0.7851 MB / 1.502 GB, free: 12.87 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.5382, allocations: 7.938 kB / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/0.5383, allocations: 27.98 kB / 1.502 GB, free: 12.84 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.5383, allocations: 21.31 kB / 1.502 GB, free: 12.82 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.5394, allocations: 0.5009 MB / 1.503 GB, free: 12.32 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/0.5425, allocations: 1.578 MB / 1.504 GB, free: 10.7 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009146/0.5434, allocations: 418.3 kB / 1.505 GB, free: 10.28 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.5438, allocations: 218.6 kB / 1.505 GB, free: 10.07 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.5439, allocations: 23.98 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.544, allocations: 38.56 kB / 1.505 GB, free: 9.996 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.796e-06/0.544, allocations: 4 kB / 1.505 GB, free: 9.992 MB / 1.201 GB Notification: Performance of matching and sorting (n=48): time 0.003211/0.5472, allocations: 1.365 MB / 1.506 GB, free: 8.594 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.5472, allocations: 59.78 kB / 1.506 GB, free: 8.523 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007238/0.548, allocations: 0.546 MB / 1.507 GB, free: 7.965 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.637e-05/0.548, allocations: 41.7 kB / 1.507 GB, free: 7.918 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.5483, allocations: 325.1 kB / 1.507 GB, free: 7.598 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.5485, allocations: 182.4 kB / 1.507 GB, free: 7.418 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.5487, allocations: 86.19 kB / 1.508 GB, free: 7.328 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.5488, allocations: 374.8 kB / 1.508 GB, free: 6.953 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.5492, allocations: 172.9 kB / 1.508 GB, free: 6.785 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/0.5496, allocations: 359 kB / 1.508 GB, free: 6.383 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.003467/0.5531, allocations: 1.292 MB / 1.51 GB, free: 5.078 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5531, allocations: 0 / 1.51 GB, free: 5.078 MB / 1.201 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001014/0.5541, allocations: 0.5307 MB / 1.51 GB, free: 4.539 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.5541, allocations: 7.938 kB / 1.51 GB, free: 4.531 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5541, allocations: 4.156 kB / 1.51 GB, free: 4.527 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.5541, allocations: 4 kB / 1.51 GB, free: 4.523 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.5546, allocations: 95.89 kB / 1.51 GB, free: 4.43 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.5546, allocations: 4 kB / 1.51 GB, free: 4.426 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.5552, allocations: 24.83 kB / 1.51 GB, free: 4.402 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.5552, allocations: 19.98 kB / 1.51 GB, free: 4.383 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.0003723/0.5556, allocations: 250.3 kB / 1.511 GB, free: 4.129 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.5557, allocations: 71.58 kB / 1.511 GB, free: 4.059 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.5559, allocations: 74.45 kB / 1.511 GB, free: 3.984 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5559, allocations: 12 kB / 1.511 GB, free: 3.973 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5559, allocations: 0 / 1.511 GB, free: 3.973 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009046/0.5568, allocations: 0.5144 MB / 1.511 GB, free: 3.426 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.5595, allocations: 1.44 MB / 1.513 GB, free: 1.875 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.5595, allocations: 4 kB / 1.513 GB, free: 1.871 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/0.56, allocations: 115.8 kB / 1.513 GB, free: 1.758 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.56, allocations: 8 kB / 1.513 GB, free: 1.75 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.5601, allocations: 12 kB / 1.513 GB, free: 1.738 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.658e-05/0.5601, allocations: 20.39 kB / 1.513 GB, free: 1.719 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.5601, allocations: 4 kB / 1.513 GB, free: 1.715 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.5615, allocations: 0.9065 MB / 1.514 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003123/0.5618, allocations: 127.6 kB / 1.514 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/0.5619, allocations: 20 kB / 1.514 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.5624, allocations: 25.55 kB / 1.514 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.5625, allocations: 47.81 kB / 1.514 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.5625, allocations: 20 kB / 1.514 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000512/0.563, allocations: 402.8 kB / 1.514 GB, free: 108 kB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.563, allocations: 0 / 1.514 GB, free: 108 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007853/0.5638, allocations: 200.1 kB / 1.514 GB, free: 15.91 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.001968/0.5658, allocations: 1.518 MB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008494/0.5666, allocations: 425.2 kB / 1.516 GB, free: 13.89 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.5666, allocations: 4 kB / 1.516 GB, free: 13.88 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.567, allocations: 228.5 kB / 1.517 GB, free: 13.66 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.5694, allocations: 492.7 kB / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008361/0.5778, allocations: 5.509 MB / 1.522 GB, free: 7.441 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.5782, allocations: 387 kB / 1.523 GB, free: 7.039 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000635/0.5788, allocations: 165.8 kB / 1.523 GB, free: 6.875 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/0.5793, allocations: 247.4 kB / 1.523 GB, free: 6.633 MB / 1.217 GB Notification: Performance of SimCode: time 8.82e-07/0.5793, allocations: 4 kB / 1.523 GB, free: 6.629 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05291/0.6322, allocations: 22.35 MB / 1.545 GB, free: 0.8789 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.7, allocations: 10.03 kB / 1.545 GB, free: 0.8711 MB / 1.232 GB " [Timeout remaining time 287] (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.946991682983935]