Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_10_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.005089/0.005089, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001304/0.001304, allocations: 198.7 kB / 16.67 MB, free: 5.934 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2392, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6845/0.9238, allocations: 181.9 MB / 1.344 GB, free: 9.027 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007961/0.9318, allocations: 5.345 MB / 1.349 GB, free: 5.246 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.9328, allocations: 38.19 kB / 1.349 GB, free: 5.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.934, allocations: 454.7 kB / 1.349 GB, free: 4.977 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.9378, allocations: 1.739 MB / 1.351 GB, free: 4.023 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.9397, allocations: 0.8038 MB / 1.352 GB, free: 3.582 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002612/0.9423, allocations: 2.205 MB / 1.354 GB, free: 2.574 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009735/0.9433, allocations: 0.6908 MB / 1.355 GB, free: 2.258 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.9446, allocations: 0.7714 MB / 1.356 GB, free: 1.902 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.9463, allocations: 0.6863 MB / 1.356 GB, free: 1.617 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.9465, allocations: 75.16 kB / 1.356 GB, free: 1.617 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.949, allocations: 1.408 MB / 1.358 GB, free: 1.051 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004076/0.9494, allocations: 320.9 kB / 1.358 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00069/0.9501, allocations: 473.3 kB / 1.358 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.9526, allocations: 1.667 MB / 1.36 GB, free: 52 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.9526, allocations: 1.219 kB / 1.36 GB, free: 52 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9526, allocations: 0 / 1.36 GB, free: 52 kB / 1.029 GB Notification: Performance of Transformations before backend: time 3.356e-05/0.9526, allocations: 4 kB / 1.36 GB, free: 48 kB / 1.029 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.002296/0.9549, allocations: 1.205 MB / 1.361 GB, free: 15.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.955, allocations: 9.125 kB / 1.361 GB, free: 15.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.9551, allocations: 106.1 kB / 1.361 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001983/0.9571, allocations: 274.3 kB / 1.362 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.9584, allocations: 0.7167 MB / 1.362 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.9585, allocations: 45.5 kB / 1.362 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.9586, allocations: 64.09 kB / 1.362 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.9597, allocations: 0.583 MB / 1.363 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.9598, allocations: 0 / 1.363 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/0.9598, allocations: 25.59 kB / 1.363 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.9599, allocations: 20.78 kB / 1.363 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009859/0.9609, allocations: 0.5057 MB / 1.364 GB, free: 14.04 MB / 1.045 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.003451/0.9643, allocations: 2.384 MB / 1.366 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008286/0.9652, allocations: 436.7 kB / 1.366 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.9655, allocations: 222.3 kB / 1.366 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.9657, allocations: 95.97 kB / 1.367 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.9657, allocations: 37.78 kB / 1.367 GB, free: 11.54 MB / 1.045 GB Notification: Performance of pre-optimization done (n=43): time 3.317e-06/0.9657, allocations: 0 / 1.367 GB, free: 11.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.002945/0.9687, allocations: 1.456 MB / 1.368 GB, free: 10.62 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.9687, allocations: 56.66 kB / 1.368 GB, free: 10.56 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.9693, allocations: 0.5395 MB / 1.369 GB, free: 10.24 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.9694, allocations: 36.64 kB / 1.369 GB, free: 10.2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.9696, allocations: 339.5 kB / 1.369 GB, free: 9.906 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.9698, allocations: 173.2 kB / 1.369 GB, free: 9.754 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.9699, allocations: 93.36 kB / 1.369 GB, free: 9.695 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.9701, allocations: 371.7 kB / 1.37 GB, free: 9.336 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.9704, allocations: 174.7 kB / 1.37 GB, free: 9.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.9708, allocations: 266.1 kB / 1.37 GB, free: 9.066 MB / 1.045 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.003361/0.9742, allocations: 1.439 MB / 1.371 GB, free: 8.215 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9742, allocations: 1.188 kB / 1.371 GB, free: 8.215 MB / 1.045 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008674/0.9751, allocations: 0.526 MB / 1.372 GB, free: 7.941 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.9751, allocations: 8.734 kB / 1.372 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.9751, allocations: 2.688 kB / 1.372 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.9751, allocations: 7 kB / 1.372 GB, free: 7.934 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.9755, allocations: 95.62 kB / 1.372 GB, free: 7.914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.9756, allocations: 6.688 kB / 1.372 GB, free: 7.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006398/0.9762, allocations: 24.39 kB / 1.372 GB, free: 7.895 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.9762, allocations: 19.72 kB / 1.372 GB, free: 7.887 MB / 1.045 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.0002908/0.9765, allocations: 245.9 kB / 1.372 GB, free: 7.691 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.9767, allocations: 69.95 kB / 1.372 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.9768, allocations: 86.02 kB / 1.372 GB, free: 7.59 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.9768, allocations: 4.719 kB / 1.372 GB, free: 7.59 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.9768, allocations: 0 / 1.372 GB, free: 7.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006755/0.9775, allocations: 0.5081 MB / 1.373 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.9798, allocations: 1.588 MB / 1.375 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.9798, allocations: 5.188 kB / 1.375 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.9804, allocations: 113.9 kB / 1.375 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.9804, allocations: 7.812 kB / 1.375 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.9804, allocations: 20 kB / 1.375 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.9805, allocations: 11.67 kB / 1.375 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.9805, allocations: 16.88 kB / 1.375 GB, free: 5.992 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.9816, allocations: 0.8988 MB / 1.376 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.9819, allocations: 195.9 kB / 1.376 GB, free: 5.18 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.872e-05/0.982, allocations: 20.08 kB / 1.376 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005999/0.9826, allocations: 24.95 kB / 1.376 GB, free: 5.156 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.9827, allocations: 54.2 kB / 1.376 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.9827, allocations: 19.44 kB / 1.376 GB, free: 5.117 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004117/0.9832, allocations: 402.1 kB / 1.376 GB, free: 4.883 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9832, allocations: 0 / 1.376 GB, free: 4.883 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006314/0.9838, allocations: 203.2 kB / 1.376 GB, free: 4.863 MB / 1.045 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.001606/0.9854, allocations: 1.54 MB / 1.378 GB, free: 3.641 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007159/0.9862, allocations: 441.6 kB / 1.378 GB, free: 3.438 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9862, allocations: 2.781 kB / 1.378 GB, free: 3.438 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.9865, allocations: 235 kB / 1.379 GB, free: 3.328 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.9887, allocations: 491.3 kB / 1.379 GB, free: 3.082 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006669/0.9954, allocations: 5.495 MB / 1.384 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.9959, allocations: 0.9735 MB / 1.385 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005277/0.9964, allocations: 168.2 kB / 1.386 GB, free: 14.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.9968, allocations: 251.1 kB / 1.386 GB, free: 14.23 MB / 1.061 GB Notification: Performance of SimCode: time 2.31e-07/0.9968, allocations: 0 / 1.386 GB, free: 14.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03924/1.036, allocations: 20.37 MB / 1.406 GB, free: 15.1 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/9.458, allocations: 3.953 kB / 1.406 GB, free: 15.09 MB / 1.076 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches