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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 106.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 497.2 MB / 0.7812 GB, free: 12.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 1.134 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9555/0.9574, allocations: 173.9 MB / 1.304 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2399/1.197, allocations: 182.6 MB / 1.482 GB, free: 13.57 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01045/1.208, allocations: 5.38 MB / 1.487 GB, free: 8.172 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/1.209, allocations: 39.75 kB / 1.488 GB, free: 8.133 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/1.211, allocations: 453.4 kB / 1.488 GB, free: 7.688 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004629/1.215, allocations: 1.754 MB / 1.49 GB, free: 5.926 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/1.217, allocations: 0.8017 MB / 1.49 GB, free: 5.129 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003356/1.221, allocations: 2.205 MB / 1.493 GB, free: 2.922 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000968/1.222, allocations: 0.5837 MB / 1.493 GB, free: 2.328 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/1.224, allocations: 0.9654 MB / 1.494 GB, free: 1.359 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/1.226, allocations: 0.7288 MB / 1.495 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/1.226, allocations: 76 kB / 1.495 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/1.229, allocations: 1.473 MB / 1.496 GB, free: 15.09 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004282/1.229, allocations: 327 kB / 1.497 GB, free: 14.77 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006608/1.23, allocations: 477.8 kB / 1.497 GB, free: 14.3 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003331/1.233, allocations: 1.67 MB / 1.499 GB, free: 12.62 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.233, allocations: 0 / 1.499 GB, free: 12.62 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.853e-06/1.233, allocations: 0 / 1.499 GB, free: 12.62 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.804e-05/1.233, allocations: 0 / 1.499 GB, free: 12.62 MB / 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.002283/1.236, allocations: 1.214 MB / 1.5 GB, free: 11.36 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/1.236, allocations: 8.031 kB / 1.5 GB, free: 11.35 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/1.236, allocations: 102.5 kB / 1.5 GB, free: 11.24 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/1.238, allocations: 283.1 kB / 1.5 GB, free: 10.96 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/1.239, allocations: 0.7144 MB / 1.501 GB, free: 10.21 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/1.239, allocations: 45.31 kB / 1.501 GB, free: 10.16 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/1.239, allocations: 63.95 kB / 1.501 GB, free: 10.1 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/1.241, allocations: 0.5804 MB / 1.502 GB, free: 9.512 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/1.241, allocations: 0 / 1.502 GB, free: 9.512 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/1.241, allocations: 24 kB / 1.502 GB, free: 9.488 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/1.241, allocations: 21.31 kB / 1.502 GB, free: 9.469 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009398/1.242, allocations: 0.5009 MB / 1.502 GB, free: 8.969 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004038/1.246, allocations: 2.543 MB / 1.505 GB, free: 6.195 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008692/1.247, allocations: 418.7 kB / 1.505 GB, free: 5.777 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/1.247, allocations: 213.5 kB / 1.505 GB, free: 5.566 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/1.247, allocations: 97.09 kB / 1.505 GB, free: 5.453 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/1.247, allocations: 46.45 kB / 1.505 GB, free: 5.398 MB / 1.186 GB Notification: Performance of pre-optimization done (n=43): time 2.003e-06/1.247, allocations: 0 / 1.505 GB, free: 5.398 MB / 1.186 GB Notification: Performance of matching and sorting (n=48): time 0.003173/1.25, allocations: 1.444 MB / 1.507 GB, free: 3.902 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/1.25, allocations: 55.84 kB / 1.507 GB, free: 3.836 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/1.251, allocations: 0.5383 MB / 1.507 GB, free: 3.285 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/1.251, allocations: 37.7 kB / 1.507 GB, free: 3.242 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/1.252, allocations: 333.1 kB / 1.508 GB, free: 2.914 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/1.252, allocations: 178.4 kB / 1.508 GB, free: 2.738 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/1.252, allocations: 90.25 kB / 1.508 GB, free: 2.641 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002087/1.252, allocations: 382.6 kB / 1.508 GB, free: 2.258 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/1.252, allocations: 177 kB / 1.509 GB, free: 2.086 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/1.253, allocations: 252.8 kB / 1.509 GB, free: 1.82 MB / 1.186 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.003479/1.256, allocations: 1.443 MB / 1.51 GB, free: 336 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.256, allocations: 4 kB / 1.51 GB, free: 332 kB / 1.186 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009913/1.257, allocations: 0.5346 MB / 1.511 GB, free: 15.78 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.257, allocations: 4 kB / 1.511 GB, free: 15.78 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.257, allocations: 4 kB / 1.511 GB, free: 15.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.257, allocations: 0 / 1.511 GB, free: 15.77 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/1.258, allocations: 100 kB / 1.511 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.258, allocations: 4 kB / 1.511 GB, free: 15.67 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/1.258, allocations: 29.58 kB / 1.511 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/1.258, allocations: 16 kB / 1.511 GB, free: 15.63 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.000425/1.259, allocations: 245.7 kB / 1.511 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/1.259, allocations: 75.53 kB / 1.511 GB, free: 15.3 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/1.259, allocations: 74.45 kB / 1.511 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.259, allocations: 8 kB / 1.511 GB, free: 15.22 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/1.259, allocations: 4 kB / 1.511 GB, free: 15.22 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008018/1.26, allocations: 0.5144 MB / 1.512 GB, free: 14.67 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/1.263, allocations: 1.585 MB / 1.513 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.263, allocations: 4 kB / 1.513 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/1.263, allocations: 111.8 kB / 1.513 GB, free: 12.85 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-05/1.263, allocations: 8 kB / 1.513 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/1.263, allocations: 19.98 kB / 1.513 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/1.263, allocations: 11.94 kB / 1.513 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/1.263, allocations: 11.94 kB / 1.513 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/1.265, allocations: 0.895 MB / 1.514 GB, free: 11.83 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/1.265, allocations: 204.6 kB / 1.515 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.8e-05/1.266, allocations: 23.92 kB / 1.515 GB, free: 11.59 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005415/1.266, allocations: 18.84 kB / 1.515 GB, free: 11.57 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.266, allocations: 55.91 kB / 1.515 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/1.266, allocations: 27.98 kB / 1.515 GB, free: 11.49 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005906/1.267, allocations: 398.8 kB / 1.515 GB, free: 11.11 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.267, allocations: 0 / 1.515 GB, free: 11.11 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008498/1.268, allocations: 195.9 kB / 1.515 GB, free: 10.91 MB / 1.201 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.002165/1.27, allocations: 1.546 MB / 1.517 GB, free: 9.289 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008898/1.271, allocations: 417.2 kB / 1.517 GB, free: 8.879 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.271, allocations: 4 kB / 1.517 GB, free: 8.875 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003795/1.271, allocations: 224.2 kB / 1.517 GB, free: 8.656 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.273, allocations: 486.9 kB / 1.518 GB, free: 8.191 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008335/1.282, allocations: 5.491 MB / 1.523 GB, free: 2.461 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/1.282, allocations: 0.9733 MB / 1.524 GB, free: 1.457 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006636/1.283, allocations: 165.8 kB / 1.524 GB, free: 1.293 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/1.283, allocations: 247.4 kB / 1.525 GB, free: 1.055 MB / 1.201 GB Notification: Performance of SimCode: time 8.42e-07/1.283, allocations: 0 / 1.525 GB, free: 1.055 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05508/1.339, allocations: 20.47 MB / 1.545 GB, free: 12.93 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.123/10.46, allocations: 7.859 kB / 1.545 GB, free: 12.92 MB / 1.232 GB " [Timeout remaining time 289] (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_2/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: 16.624157511163503]