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.0007809/0.0007809, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008215/0.0008215, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8367/0.8367, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 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 1.722/1.722, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 3.938 kB / 0.9997 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.204e-05, allocations: 2.281 kB / 0.9997 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6069/0.6069, allocations: 160.6 MB / 1.156 GB, free: 14.42 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.006818/0.6137, allocations: 5.057 MB / 1.161 GB, free: 10.41 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.6149, allocations: 47.5 kB / 1.161 GB, free: 10.38 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.6159, allocations: 434.3 kB / 1.162 GB, free: 10.03 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.6193, allocations: 1.787 MB / 1.164 GB, free: 8.652 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.6208, allocations: 0.843 MB / 1.164 GB, free: 8 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002184/0.623, allocations: 2.254 MB / 1.167 GB, free: 6.66 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006546/0.6237, allocations: 0.5031 MB / 1.167 GB, free: 6.289 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.6253, allocations: 1.243 MB / 1.168 GB, free: 5.508 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.6265, allocations: 0.6346 MB / 1.169 GB, free: 4.895 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002411/0.6267, allocations: 76 kB / 1.169 GB, free: 4.82 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.6283, allocations: 1.164 MB / 1.17 GB, free: 3.652 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.6286, allocations: 351 kB / 1.17 GB, free: 3.309 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.6289, allocations: 331.3 kB / 1.171 GB, free: 2.984 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.6304, allocations: 1.679 MB / 1.172 GB, free: 1.301 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6304, allocations: 0 / 1.172 GB, free: 1.301 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6304, allocations: 0 / 1.172 GB, free: 1.301 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.6304, allocations: 4 kB / 1.172 GB, free: 1.297 MB / 1.01 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.001262/0.6317, allocations: 1.123 MB / 1.174 GB, free: 144 kB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.6317, allocations: 11.47 kB / 1.174 GB, free: 136 kB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.634e-05/0.6318, allocations: 102.5 kB / 1.174 GB, free: 24 kB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000954/0.6328, allocations: 283.2 kB / 1.174 GB, free: 15.75 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.6335, allocations: 0.6307 MB / 1.175 GB, free: 15.09 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.6336, allocations: 49.25 kB / 1.175 GB, free: 15.04 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-05/0.6336, allocations: 67.92 kB / 1.175 GB, free: 14.98 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007075/0.6343, allocations: 0.7812 MB / 1.175 GB, free: 14.14 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.6344, allocations: 3.984 kB / 1.175 GB, free: 14.13 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.6344, allocations: 28 kB / 1.175 GB, free: 14.11 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.6344, allocations: 21.31 kB / 1.175 GB, free: 14.09 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005483/0.635, allocations: 0.4931 MB / 1.176 GB, free: 13.59 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.6368, allocations: 1.587 MB / 1.178 GB, free: 11.96 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.6374, allocations: 403.8 kB / 1.178 GB, free: 11.55 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.6376, allocations: 219 kB / 1.178 GB, free: 11.34 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.6377, allocations: 23.92 kB / 1.178 GB, free: 11.32 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.6377, allocations: 42.56 kB / 1.178 GB, free: 11.27 MB / 1.026 GB Notification: Performance of pre-optimization done (n=43): time 3.026e-06/0.6377, allocations: 0 / 1.178 GB, free: 11.27 MB / 1.026 GB Notification: Performance of matching and sorting (n=48): time 0.001964/0.6397, allocations: 1.37 MB / 1.18 GB, free: 9.867 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.6397, allocations: 55.91 kB / 1.18 GB, free: 9.801 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.6401, allocations: 0.5421 MB / 1.18 GB, free: 9.254 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.6402, allocations: 37.7 kB / 1.18 GB, free: 9.211 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.6403, allocations: 325.2 kB / 1.18 GB, free: 8.887 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.6404, allocations: 174.4 kB / 1.181 GB, free: 8.715 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.443e-05/0.6405, allocations: 94.08 kB / 1.181 GB, free: 8.613 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6406, allocations: 378.7 kB / 1.181 GB, free: 8.234 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.6408, allocations: 172.9 kB / 1.181 GB, free: 8.066 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.6411, allocations: 363.9 kB / 1.182 GB, free: 7.668 MB / 1.026 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.001927/0.643, allocations: 1.296 MB / 1.183 GB, free: 6.355 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.643, allocations: 0 / 1.183 GB, free: 6.355 MB / 1.026 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005313/0.6435, allocations: 0.5361 MB / 1.183 GB, free: 5.812 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.6436, allocations: 8.156 kB / 1.183 GB, free: 5.805 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.6436, allocations: 4 kB / 1.183 GB, free: 5.801 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6436, allocations: 4 kB / 1.183 GB, free: 5.797 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.6438, allocations: 93.09 kB / 1.183 GB, free: 5.707 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.6438, allocations: 0 / 1.183 GB, free: 5.707 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.6441, allocations: 27.86 kB / 1.183 GB, free: 5.68 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.6441, allocations: 16 kB / 1.183 GB, free: 5.664 MB / 1.026 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.0002406/0.6443, allocations: 246.3 kB / 1.184 GB, free: 5.414 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.6444, allocations: 75.52 kB / 1.184 GB, free: 5.34 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.528e-05/0.6445, allocations: 86.41 kB / 1.184 GB, free: 5.25 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6445, allocations: 4 kB / 1.184 GB, free: 5.246 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6445, allocations: 2.562 kB / 1.184 GB, free: 5.246 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004322/0.6449, allocations: 0.512 MB / 1.184 GB, free: 4.699 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.6463, allocations: 1.436 MB / 1.186 GB, free: 3.152 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.6463, allocations: 8.047 kB / 1.186 GB, free: 3.145 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.6466, allocations: 115.9 kB / 1.186 GB, free: 3.031 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.6466, allocations: 8 kB / 1.186 GB, free: 3.023 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.6466, allocations: 12.62 kB / 1.186 GB, free: 3.012 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.6466, allocations: 11.94 kB / 1.186 GB, free: 3 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6466, allocations: 8 kB / 1.186 GB, free: 2.992 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/0.6474, allocations: 0.9126 MB / 1.187 GB, free: 2.004 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.6475, allocations: 119.6 kB / 1.187 GB, free: 1.887 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.6476, allocations: 19.98 kB / 1.187 GB, free: 1.867 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.6478, allocations: 20 kB / 1.187 GB, free: 1.848 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.6479, allocations: 43.81 kB / 1.187 GB, free: 1.805 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.6479, allocations: 27.98 kB / 1.187 GB, free: 1.777 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002961/0.6482, allocations: 398.8 kB / 1.187 GB, free: 1.391 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6482, allocations: 0 / 1.187 GB, free: 1.391 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004402/0.6487, allocations: 199.9 kB / 1.188 GB, free: 1.195 MB / 1.026 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.00112/0.6498, allocations: 1.511 MB / 1.189 GB, free: 15.6 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005127/0.6503, allocations: 426 kB / 1.19 GB, free: 15.18 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6503, allocations: 4 kB / 1.19 GB, free: 15.18 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.6507, allocations: 228.3 kB / 1.19 GB, free: 14.96 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.6518, allocations: 0.4889 MB / 1.19 GB, free: 14.48 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.6564, allocations: 5.39 MB / 1.195 GB, free: 8.859 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.6566, allocations: 378.8 kB / 1.196 GB, free: 8.461 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0004249/0.657, allocations: 165.8 kB / 1.196 GB, free: 8.297 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.6573, allocations: 248.4 kB / 1.196 GB, free: 8.055 MB / 1.042 GB Notification: Performance of SimCode: time 8.31e-07/0.6573, allocations: 0 / 1.196 GB, free: 8.055 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.6916, allocations: 22.6 MB / 1.218 GB, free: 1.961 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.629/7.32, allocations: 0 / 1.218 GB, free: 1.961 MB / 1.057 GB " [Timeout remaining time 293] (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/jenkins/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: 11.21797394938767]