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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001419/0.001419, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001136/0.001136, allocations: 193 kB / 16.13 MB, free: 6.652 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.2 MB / 0.6643 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.89 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5299/0.5313, allocations: 140.4 MB / 0.949 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1706/0.7019, allocations: 179.6 MB / 1.124 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007991/0.71, allocations: 5.428 MB / 1.13 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.7111, allocations: 31.81 kB / 1.13 GB, free: 8.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.7123, allocations: 374 kB / 1.13 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.7159, allocations: 1.568 MB / 1.132 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.7174, allocations: 0.7274 MB / 1.132 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002709/0.7201, allocations: 2.978 MB / 1.135 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006765/0.7208, allocations: 0.5905 MB / 1.136 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008003/0.7216, allocations: 0.6339 MB / 1.137 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.7233, allocations: 0.6898 MB / 1.137 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.109e-05/0.7234, allocations: 36 kB / 1.137 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.7257, allocations: 1.621 MB / 1.139 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.726, allocations: 287.1 kB / 1.139 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004471/0.7265, allocations: 429.9 kB / 1.139 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.7283, allocations: 1.702 MB / 1.141 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.7283, allocations: 0 / 1.141 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.42e-07/0.7283, allocations: 0 / 1.141 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.7283, allocations: 0 / 1.141 GB, free: 12.72 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.001567/0.7299, allocations: 1.184 MB / 1.142 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.7299, allocations: 12.03 kB / 1.142 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.73, allocations: 102.5 kB / 1.142 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.7318, allocations: 266.8 kB / 1.143 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008833/0.7327, allocations: 0.6787 MB / 1.143 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.7327, allocations: 45.31 kB / 1.143 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/0.7328, allocations: 52 kB / 1.143 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009467/0.7337, allocations: 0.5882 MB / 1.144 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.7338, allocations: 0 / 1.144 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.7338, allocations: 23.98 kB / 1.144 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.7339, allocations: 33.17 kB / 1.144 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008289/0.7347, allocations: 0.5009 MB / 1.145 GB, free: 9.133 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.00282/0.7375, allocations: 2.38 MB / 1.147 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.7383, allocations: 424.3 kB / 1.147 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.7386, allocations: 223 kB / 1.147 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.7388, allocations: 97.09 kB / 1.148 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.7388, allocations: 54.39 kB / 1.148 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.7388, allocations: 0 / 1.148 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.002982/0.7418, allocations: 1.439 MB / 1.149 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.7418, allocations: 59.84 kB / 1.149 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.7425, allocations: 0.5383 MB / 1.15 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.7425, allocations: 37.7 kB / 1.15 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.7429, allocations: 332.5 kB / 1.15 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.7431, allocations: 165.6 kB / 1.15 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.7432, allocations: 90.16 kB / 1.15 GB, free: 3 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.7434, allocations: 378.7 kB / 1.151 GB, free: 2.621 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.7437, allocations: 181 kB / 1.151 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.744, allocations: 252.8 kB / 1.151 GB, free: 2.172 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.003469/0.7475, allocations: 1.441 MB / 1.152 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7475, allocations: 0 / 1.152 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008198/0.7483, allocations: 0.5343 MB / 1.153 GB, free: 140 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.7484, allocations: 4 kB / 1.153 GB, free: 136 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.7484, allocations: 0 / 1.153 GB, free: 136 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.7484, allocations: 7.938 kB / 1.153 GB, free: 128 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.7488, allocations: 91.91 kB / 1.153 GB, free: 36 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.7488, allocations: 4 kB / 1.153 GB, free: 32 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/0.7495, allocations: 51.95 kB / 1.153 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.7495, allocations: 16 kB / 1.153 GB, free: 15.96 MB / 0.92 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.0003779/0.7499, allocations: 245.6 kB / 1.153 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.7501, allocations: 71.16 kB / 1.153 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.7503, allocations: 82.44 kB / 1.153 GB, free: 15.57 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.7503, allocations: 8 kB / 1.153 GB, free: 15.56 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7503, allocations: 0 / 1.153 GB, free: 15.56 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007631/0.751, allocations: 0.5144 MB / 1.154 GB, free: 15.02 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.7533, allocations: 1.577 MB / 1.156 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.7533, allocations: 11.92 kB / 1.156 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.7539, allocations: 119.8 kB / 1.156 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.7539, allocations: 8 kB / 1.156 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.7539, allocations: 16.62 kB / 1.156 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/0.7539, allocations: 15.94 kB / 1.156 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.7539, allocations: 11.94 kB / 1.156 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.7551, allocations: 0.8949 MB / 1.157 GB, free: 12.17 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.7553, allocations: 196.3 kB / 1.157 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.933e-05/0.7554, allocations: 16 kB / 1.157 GB, free: 11.94 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/0.756, allocations: 39.83 kB / 1.157 GB, free: 11.9 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.7561, allocations: 51.77 kB / 1.157 GB, free: 11.85 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.7561, allocations: 31.98 kB / 1.157 GB, free: 11.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004098/0.7565, allocations: 398.8 kB / 1.157 GB, free: 11.43 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7565, allocations: 0 / 1.157 GB, free: 11.43 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006091/0.7572, allocations: 196 kB / 1.157 GB, free: 11.24 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.001731/0.7589, allocations: 1.517 MB / 1.159 GB, free: 9.648 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006991/0.7596, allocations: 433.5 kB / 1.159 GB, free: 9.23 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.7596, allocations: 8 kB / 1.159 GB, free: 9.223 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.76, allocations: 233.1 kB / 1.16 GB, free: 8.996 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.7619, allocations: 486.3 kB / 1.16 GB, free: 8.527 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007147/0.7691, allocations: 5.857 MB / 1.166 GB, free: 2.434 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.7696, allocations: 0.9811 MB / 1.167 GB, free: 1.426 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005754/0.7702, allocations: 161.9 kB / 1.167 GB, free: 1.266 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.7705, allocations: 247.4 kB / 1.167 GB, free: 1.023 MB / 0.92 GB Notification: Performance of SimCode: time 3.2e-07/0.7705, allocations: 0 / 1.167 GB, free: 1.023 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.8033, allocations: 19.47 MB / 1.186 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.8035, allocations: 269.4 kB / 1.186 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.874, allocations: 4 kB / 1.186 GB, free: 13.57 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