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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002123/0.002124, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.326/1.326, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.554/2.554, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.31 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2386, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1696/0.4082, allocations: 179.6 MB / 1.228 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0077/0.4159, allocations: 5.429 MB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006809/0.4166, allocations: 27.81 kB / 1.233 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009689/0.4176, allocations: 374.1 kB / 1.233 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003112/0.4208, allocations: 1.572 MB / 1.235 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.4223, allocations: 0.7223 MB / 1.236 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002806/0.4252, allocations: 2.984 MB / 1.238 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006826/0.4259, allocations: 0.5789 MB / 1.239 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008285/0.4267, allocations: 0.6417 MB / 1.24 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.4282, allocations: 0.7102 MB / 1.24 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.085e-05/0.4283, allocations: 39.94 kB / 1.24 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.4307, allocations: 1.617 MB / 1.242 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.431, allocations: 271.2 kB / 1.242 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003958/0.4314, allocations: 429.9 kB / 1.243 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.4331, allocations: 1.706 MB / 1.244 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4331, allocations: 4 kB / 1.244 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.31e-07/0.4332, allocations: 0 / 1.244 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.4332, allocations: 0 / 1.244 GB, free: 2.793 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.001569/0.4347, allocations: 1.188 MB / 1.245 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.4348, allocations: 15.91 kB / 1.245 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.4349, allocations: 98.52 kB / 1.246 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.4367, allocations: 274.7 kB / 1.246 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008984/0.4376, allocations: 0.6709 MB / 1.246 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.4376, allocations: 45.31 kB / 1.247 GB, free: 416 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.61e-05/0.4377, allocations: 59.91 kB / 1.247 GB, free: 356 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4108/0.8486, allocations: 0.5793 MB / 1.247 GB, free: 196 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.8486, allocations: 3.031 kB / 1.247 GB, free: 196 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/0.8487, allocations: 26.19 kB / 1.247 GB, free: 196 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/0.8488, allocations: 21.62 kB / 1.247 GB, free: 196 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.8498, allocations: 0.4974 MB / 1.248 GB, free: 196 MB / 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.00328/0.8531, allocations: 2.391 MB / 1.25 GB, free: 195 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/0.8539, allocations: 430.6 kB / 1.25 GB, free: 195 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.8543, allocations: 222.5 kB / 1.251 GB, free: 195 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.8544, allocations: 93.75 kB / 1.251 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.8545, allocations: 41.28 kB / 1.251 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.645e-06/0.8545, allocations: 0.8906 kB / 1.251 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.002844/0.8573, allocations: 1.447 MB / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.8574, allocations: 54.59 kB / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.8579, allocations: 0.5385 MB / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.858, allocations: 39.02 kB / 1.253 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.8581, allocations: 332.5 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.8582, allocations: 168.6 kB / 1.253 GB, free: 194 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.8584, allocations: 88.09 kB / 1.253 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.8585, allocations: 374.1 kB / 1.254 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.8587, allocations: 173.1 kB / 1.254 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.8591, allocations: 261.3 kB / 1.254 GB, free: 193.6 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.003083/0.8622, allocations: 1.442 MB / 1.256 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8622, allocations: 0 / 1.256 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00077/0.8629, allocations: 0.5331 MB / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.863, allocations: 5.875 kB / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.863, allocations: 2.625 kB / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.863, allocations: 2.875 kB / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.8634, allocations: 94.5 kB / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.8634, allocations: 8.469 kB / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.8641, allocations: 51.92 kB / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.8641, allocations: 20.12 kB / 1.256 GB, free: 193.2 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.0002587/0.8644, allocations: 247.8 kB / 1.256 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.8645, allocations: 67.78 kB / 1.257 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.8646, allocations: 80.16 kB / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.8647, allocations: 7.531 kB / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8647, allocations: 0 / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006057/0.8653, allocations: 0.5127 MB / 1.257 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.8673, allocations: 1.581 MB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.8674, allocations: 6.25 kB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.8678, allocations: 108.7 kB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.8679, allocations: 9.234 kB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.8679, allocations: 21.77 kB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.8679, allocations: 14.86 kB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.8679, allocations: 2.781 kB / 1.259 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009773/0.8689, allocations: 0.9091 MB / 1.26 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.8691, allocations: 195.9 kB / 1.26 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.095e-05/0.8692, allocations: 18.33 kB / 1.26 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005762/0.8698, allocations: 38.91 kB / 1.26 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.8699, allocations: 49.47 kB / 1.26 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.8699, allocations: 23.06 kB / 1.26 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003938/0.8703, allocations: 396.9 kB / 1.26 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8704, allocations: 0 / 1.26 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005897/0.8709, allocations: 204.7 kB / 1.261 GB, free: 191.8 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.001402/0.8724, allocations: 1.525 MB / 1.262 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007098/0.8731, allocations: 432 kB / 1.263 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8731, allocations: 1.406 kB / 1.263 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.8735, allocations: 237.6 kB / 1.263 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.8756, allocations: 469.8 kB / 1.263 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007335/0.883, allocations: 5.863 MB / 1.269 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.8835, allocations: 0.9795 MB / 1.27 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007676/0.8843, allocations: 165.7 kB / 1.27 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.8847, allocations: 248.5 kB / 1.27 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.8847, allocations: 0 / 1.27 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.9212, allocations: 19.47 MB / 1.289 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/0.9214, allocations: 277.7 kB / 1.29 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/3.104, allocations: 2.531 kB / 1.29 GB, free: 180.4 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