Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_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.001567/0.001567, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001759/0.001759, allocations: 189.4 kB / 16.25 MB, free: 6.633 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.2 MB / 0.6644 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.6821, allocations: 140.4 MB / 0.9492 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1742/0.8563, allocations: 179.5 MB / 1.125 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007439/0.8638, allocations: 5.328 MB / 1.13 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009019/0.8647, allocations: 35.75 kB / 1.13 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.8658, allocations: 382 kB / 1.13 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003513/0.8694, allocations: 1.568 MB / 1.132 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.8711, allocations: 0.7402 MB / 1.132 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002471/0.8736, allocations: 2.188 MB / 1.135 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000914/0.8745, allocations: 0.6695 MB / 1.135 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.8757, allocations: 0.751 MB / 1.136 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.8776, allocations: 0.7326 MB / 1.137 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.8778, allocations: 76 kB / 1.137 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.8801, allocations: 1.465 MB / 1.138 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003657/0.8804, allocations: 323.1 kB / 1.138 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005781/0.881, allocations: 469.9 kB / 1.139 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.8833, allocations: 1.741 MB / 1.141 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8833, allocations: 0 / 1.141 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8833, allocations: 0 / 1.141 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.503e-05/0.8833, allocations: 4 kB / 1.141 GB, free: 13.4 MB / 0.9044 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.001894/0.8852, allocations: 1.184 MB / 1.142 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.8853, allocations: 8.031 kB / 1.142 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.8854, allocations: 102.5 kB / 1.142 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.8873, allocations: 270.7 kB / 1.142 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.8883, allocations: 0.6825 MB / 1.143 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.8884, allocations: 41.31 kB / 1.143 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.637e-05/0.8885, allocations: 60 kB / 1.143 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.8895, allocations: 0.5804 MB / 1.143 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.8895, allocations: 0 / 1.143 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.8896, allocations: 28 kB / 1.143 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.8896, allocations: 21.31 kB / 1.143 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008578/0.8905, allocations: 0.5048 MB / 1.144 GB, free: 9.812 MB / 0.9044 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.003097/0.8936, allocations: 2.388 MB / 1.146 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/0.8944, allocations: 422.9 kB / 1.147 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.8947, allocations: 217.4 kB / 1.147 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.8949, allocations: 105.1 kB / 1.147 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.895, allocations: 46.5 kB / 1.147 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.895, allocations: 0 / 1.147 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.002799/0.8978, allocations: 1.44 MB / 1.148 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.8978, allocations: 55.84 kB / 1.149 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005756/0.8984, allocations: 0.5383 MB / 1.149 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.8985, allocations: 29.7 kB / 1.149 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.8987, allocations: 336.6 kB / 1.149 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.8988, allocations: 165.6 kB / 1.15 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.899, allocations: 90.16 kB / 1.15 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8992, allocations: 378.7 kB / 1.15 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.8995, allocations: 177 kB / 1.15 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.8998, allocations: 264.8 kB / 1.15 GB, free: 2.852 MB / 0.9044 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.003298/0.9031, allocations: 1.441 MB / 1.152 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.9031, allocations: 4 kB / 1.152 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000804/0.904, allocations: 0.5226 MB / 1.152 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.904, allocations: 9.719 kB / 1.152 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.904, allocations: 0 / 1.152 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.904, allocations: 12.14 kB / 1.152 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/0.9044, allocations: 95.84 kB / 1.152 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.9044, allocations: 4 kB / 1.152 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/0.9051, allocations: 43.75 kB / 1.152 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.9051, allocations: 16 kB / 1.152 GB, free: 0.6484 MB / 0.9044 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.0002849/0.9054, allocations: 249.7 kB / 1.153 GB, free: 404 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.9055, allocations: 71.09 kB / 1.153 GB, free: 332 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.9057, allocations: 78.45 kB / 1.153 GB, free: 252 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.9057, allocations: 7.938 kB / 1.153 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.9057, allocations: 48 / 1.153 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006978/0.9064, allocations: 0.5183 MB / 1.153 GB, free: 15.69 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.9087, allocations: 1.589 MB / 1.155 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.9087, allocations: 4 kB / 1.155 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.9093, allocations: 115.8 kB / 1.155 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.9093, allocations: 8 kB / 1.155 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.9093, allocations: 15.98 kB / 1.155 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/0.9093, allocations: 8 kB / 1.155 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/0.9093, allocations: 11.88 kB / 1.155 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.9105, allocations: 0.899 MB / 1.156 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.9108, allocations: 196.3 kB / 1.156 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.9109, allocations: 19.98 kB / 1.156 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/0.9115, allocations: 35.83 kB / 1.156 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.9116, allocations: 51.77 kB / 1.156 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.9117, allocations: 24 kB / 1.156 GB, free: 12.51 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004276/0.9121, allocations: 394.8 kB / 1.157 GB, free: 12.12 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9121, allocations: 3.938 kB / 1.157 GB, free: 12.12 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006414/0.9127, allocations: 204 kB / 1.157 GB, free: 11.92 MB / 0.92 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.00169/0.9144, allocations: 1.52 MB / 1.158 GB, free: 10.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000841/0.9153, allocations: 481.8 kB / 1.159 GB, free: 9.859 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.9153, allocations: 8 kB / 1.159 GB, free: 9.852 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.9157, allocations: 231.6 kB / 1.159 GB, free: 9.625 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.9177, allocations: 498.2 kB / 1.16 GB, free: 9.156 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007541/0.9253, allocations: 5.867 MB / 1.165 GB, free: 3.051 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.9258, allocations: 0.9772 MB / 1.166 GB, free: 2.047 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006253/0.9265, allocations: 161.8 kB / 1.166 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/0.9268, allocations: 251.4 kB / 1.167 GB, free: 1.641 MB / 0.92 GB Notification: Performance of SimCode: time 3.7e-07/0.9268, allocations: 0 / 1.167 GB, free: 1.641 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03586/0.9627, allocations: 20.08 MB / 1.186 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/0.963, allocations: 271.7 kB / 1.186 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/3.047, allocations: 3.938 kB / 1.186 GB, free: 13.6 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches