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.006781/0.006781, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001623/0.001623, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.357/2.357, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.89 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.248, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.7382/0.9862, allocations: 181.9 MB / 1.265 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007208/0.9934, allocations: 5.362 MB / 1.27 GB, free: 3.172 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/0.9942, allocations: 34.97 kB / 1.27 GB, free: 3.172 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.9953, allocations: 456.3 kB / 1.271 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.999, allocations: 1.735 MB / 1.272 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/1.001, allocations: 0.8078 MB / 1.273 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002648/1.003, allocations: 2.205 MB / 1.275 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009319/1.004, allocations: 0.69 MB / 1.276 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/1.006, allocations: 0.7773 MB / 1.277 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/1.007, allocations: 0.6868 MB / 1.278 GB, free: 3.008 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001833/1.008, allocations: 75.31 kB / 1.278 GB, free: 3.008 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/1.011, allocations: 1.408 MB / 1.279 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003975/1.011, allocations: 321.1 kB / 1.279 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005568/1.012, allocations: 473.7 kB / 1.28 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00227/1.014, allocations: 1.665 MB / 1.281 GB, free: 2.898 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/1.014, allocations: 2.312 kB / 1.281 GB, free: 2.898 MB / 1.014 GB Notification: Performance of FrontEnd: time 9.81e-07/1.014, allocations: 0 / 1.281 GB, free: 2.898 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.622e-05/1.014, allocations: 0 / 1.281 GB, free: 2.898 MB / 1.014 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.001594/1.016, allocations: 1.212 MB / 1.283 GB, free: 2.191 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/1.016, allocations: 9.094 kB / 1.283 GB, free: 2.191 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/1.016, allocations: 104.8 kB / 1.283 GB, free: 2.152 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/1.018, allocations: 277.7 kB / 1.283 GB, free: 2.105 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/1.019, allocations: 0.7109 MB / 1.284 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/1.019, allocations: 47.28 kB / 1.284 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.973e-05/1.019, allocations: 59.89 kB / 1.284 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/1.02, allocations: 0.5861 MB / 1.284 GB, free: 1.758 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/1.02, allocations: 1.25 kB / 1.284 GB, free: 1.758 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.888e-05/1.02, allocations: 27.09 kB / 1.284 GB, free: 1.758 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/1.02, allocations: 23.67 kB / 1.284 GB, free: 1.758 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008884/1.021, allocations: 0.4993 MB / 1.285 GB, free: 1.75 MB / 1.014 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.002929/1.024, allocations: 2.389 MB / 1.287 GB, free: 16.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/1.025, allocations: 424.4 kB / 1.288 GB, free: 16.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/1.025, allocations: 218.9 kB / 1.288 GB, free: 16.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/1.025, allocations: 100.6 kB / 1.288 GB, free: 16.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/1.025, allocations: 42.12 kB / 1.288 GB, free: 16.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/1.025, allocations: 0.8438 kB / 1.288 GB, free: 16.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.002674/1.028, allocations: 1.453 MB / 1.289 GB, free: 16.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/1.028, allocations: 61.47 kB / 1.289 GB, free: 16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006256/1.029, allocations: 0.5362 MB / 1.29 GB, free: 15.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/1.029, allocations: 39.22 kB / 1.29 GB, free: 15.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/1.029, allocations: 327.8 kB / 1.29 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/1.029, allocations: 182.8 kB / 1.29 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/1.029, allocations: 90.55 kB / 1.291 GB, free: 15.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.029, allocations: 371.1 kB / 1.291 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/1.03, allocations: 176.8 kB / 1.291 GB, free: 15.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/1.03, allocations: 258.9 kB / 1.291 GB, free: 15.19 MB / 1.029 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.003237/1.033, allocations: 1.444 MB / 1.293 GB, free: 14.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.033, allocations: 1.953 kB / 1.293 GB, free: 14.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008057/1.034, allocations: 0.5277 MB / 1.293 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.034, allocations: 7.594 kB / 1.293 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.034, allocations: 4.594 kB / 1.293 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/1.034, allocations: 5.094 kB / 1.293 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/1.035, allocations: 96.72 kB / 1.293 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.035, allocations: 8.594 kB / 1.293 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/1.035, allocations: 24.36 kB / 1.293 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/1.035, allocations: 20.34 kB / 1.293 GB, free: 14.84 MB / 1.029 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.0002781/1.036, allocations: 253.1 kB / 1.294 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/1.036, allocations: 69.66 kB / 1.294 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/1.036, allocations: 80.53 kB / 1.294 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.036, allocations: 6.344 kB / 1.294 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.036, allocations: 0.7031 kB / 1.294 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006951/1.037, allocations: 0.5091 MB / 1.294 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/1.039, allocations: 1.584 MB / 1.296 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.039, allocations: 5.906 kB / 1.296 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/1.039, allocations: 118.4 kB / 1.296 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/1.039, allocations: 12.41 kB / 1.296 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.445e-05/1.04, allocations: 16.66 kB / 1.296 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/1.04, allocations: 8.844 kB / 1.296 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.04, allocations: 8.188 kB / 1.296 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/1.041, allocations: 0.9069 MB / 1.297 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/1.041, allocations: 198 kB / 1.297 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.502e-05/1.041, allocations: 17.62 kB / 1.297 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/1.042, allocations: 18.48 kB / 1.297 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/1.042, allocations: 46.62 kB / 1.297 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/1.042, allocations: 22.67 kB / 1.297 GB, free: 13.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004388/1.042, allocations: 399.9 kB / 1.298 GB, free: 13.47 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.042, allocations: 0 / 1.298 GB, free: 13.47 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006544/1.043, allocations: 202.3 kB / 1.298 GB, free: 13.47 MB / 1.029 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.001621/1.045, allocations: 1.536 MB / 1.299 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007045/1.045, allocations: 444.6 kB / 1.3 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.045, allocations: 4.875 kB / 1.3 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003411/1.046, allocations: 233.6 kB / 1.3 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/1.048, allocations: 493.3 kB / 1.3 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006743/1.055, allocations: 5.498 MB / 1.306 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/1.055, allocations: 0.9788 MB / 1.307 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005715/1.056, allocations: 160.1 kB / 1.307 GB, free: 9.656 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/1.056, allocations: 252.4 kB / 1.307 GB, free: 9.648 MB / 1.029 GB Notification: Performance of SimCode: time 9.82e-07/1.056, allocations: 0 / 1.307 GB, free: 9.648 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/1.094, allocations: 20.37 MB / 1.327 GB, free: 8 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/9.327, allocations: 3.984 kB / 1.327 GB, free: 7.996 MB / 1.029 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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