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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 103.4 kB / 15.33 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 195.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.73/2.73, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.44 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2806, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1821/0.4628, allocations: 179.5 MB / 1.228 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007672/0.4705, allocations: 5.324 MB / 1.233 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009707/0.4715, allocations: 31.81 kB / 1.233 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.4727, allocations: 394.1 kB / 1.233 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003671/0.4764, allocations: 1.563 MB / 1.235 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.4782, allocations: 0.7348 MB / 1.236 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.4807, allocations: 2.191 MB / 1.238 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009376/0.4817, allocations: 0.6774 MB / 1.238 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.483, allocations: 0.7509 MB / 1.239 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.485, allocations: 0.7348 MB / 1.24 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.4853, allocations: 76 kB / 1.24 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.488, allocations: 1.469 MB / 1.241 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003703/0.4884, allocations: 319.1 kB / 1.242 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005481/0.489, allocations: 473.9 kB / 1.242 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.4913, allocations: 1.733 MB / 1.244 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.4914, allocations: 0 / 1.244 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4914, allocations: 3.938 kB / 1.244 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.789e-05/0.4914, allocations: 4 kB / 1.244 GB, free: 4.004 MB / 0.9981 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.001843/0.4933, allocations: 1.18 MB / 1.245 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.4933, allocations: 8.625 kB / 1.245 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.4934, allocations: 98.52 kB / 1.245 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.4953, allocations: 278.7 kB / 1.245 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.4964, allocations: 0.6709 MB / 1.246 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.4965, allocations: 45.31 kB / 1.246 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-05/0.4966, allocations: 63.91 kB / 1.246 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009946/0.4976, allocations: 0.5843 MB / 1.247 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.4976, allocations: 3.984 kB / 1.247 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/0.4977, allocations: 27.98 kB / 1.247 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.4977, allocations: 21.31 kB / 1.247 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008287/0.4985, allocations: 0.497 MB / 1.247 GB, free: 436 kB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3859/0.8845, allocations: 2.377 MB / 1.249 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007158/0.8852, allocations: 436.4 kB / 1.25 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.8855, allocations: 220.6 kB / 1.25 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.8857, allocations: 101.1 kB / 1.25 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.8857, allocations: 38.19 kB / 1.25 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.8857, allocations: 0 / 1.25 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.002549/0.8883, allocations: 1.449 MB / 1.252 GB, free: 195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.8883, allocations: 55.88 kB / 1.252 GB, free: 195 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004733/0.8888, allocations: 0.5389 MB / 1.252 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.8888, allocations: 36.23 kB / 1.252 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.889, allocations: 329.3 kB / 1.253 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.323e-05/0.8891, allocations: 171.7 kB / 1.253 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.8892, allocations: 89.72 kB / 1.253 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.479e-05/0.8892, allocations: 373.4 kB / 1.253 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.8895, allocations: 175.4 kB / 1.253 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.8898, allocations: 262 kB / 1.254 GB, free: 194.2 MB / 0.9981 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.00278/0.8926, allocations: 1.442 MB / 1.255 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8926, allocations: 0 / 1.255 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006508/0.8932, allocations: 0.5316 MB / 1.256 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.8933, allocations: 5.844 kB / 1.256 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8933, allocations: 3.938 kB / 1.256 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.8933, allocations: 2.875 kB / 1.256 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003609/0.8937, allocations: 98.66 kB / 1.256 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.8937, allocations: 2.906 kB / 1.256 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.8943, allocations: 49.67 kB / 1.256 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.8943, allocations: 17.66 kB / 1.256 GB, free: 193.8 MB / 0.9981 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.0002158/0.8945, allocations: 249.4 kB / 1.256 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.8946, allocations: 64.94 kB / 1.256 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.8948, allocations: 84.64 kB / 1.256 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8948, allocations: 5.594 kB / 1.256 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8948, allocations: 0.875 kB / 1.256 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005466/0.8953, allocations: 0.507 MB / 1.257 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.8972, allocations: 1.589 MB / 1.258 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.8972, allocations: 7.594 kB / 1.258 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.8977, allocations: 118.7 kB / 1.258 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.8977, allocations: 13.08 kB / 1.258 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.8977, allocations: 18.95 kB / 1.258 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.8978, allocations: 9.875 kB / 1.258 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8978, allocations: 6.969 kB / 1.258 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009388/0.8987, allocations: 0.8957 MB / 1.259 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.8989, allocations: 201.6 kB / 1.259 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/0.899, allocations: 20.8 kB / 1.259 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.8996, allocations: 37.22 kB / 1.259 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.8997, allocations: 49.84 kB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.8997, allocations: 23.11 kB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003639/0.9001, allocations: 400.5 kB / 1.26 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9001, allocations: 0 / 1.26 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005695/0.9007, allocations: 201.5 kB / 1.26 GB, free: 192.4 MB / 0.9981 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.001314/0.902, allocations: 1.533 MB / 1.262 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007141/0.9027, allocations: 473 kB / 1.262 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9027, allocations: 2.938 kB / 1.262 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.903, allocations: 231 kB / 1.262 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.905, allocations: 493.1 kB / 1.263 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/0.9118, allocations: 5.864 MB / 1.268 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.9122, allocations: 0.9749 MB / 1.269 GB, free: 188 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000696/0.9129, allocations: 169.3 kB / 1.27 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.9133, allocations: 247.8 kB / 1.27 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.52e-07/0.9133, allocations: 0 / 1.27 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.833/7.746, allocations: 20.08 MB / 1.289 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/7.746, allocations: 277.7 kB / 1.29 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/10.66, allocations: 6.172 kB / 1.29 GB, free: 180.8 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) 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) Reference file matches