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.007631/0.007631, allocations: 102 kB / 15.73 MB, free: 6.051 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.00171/0.00171, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.227/2.227, allocations: 390.2 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 63.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7737/0.7758, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2042/0.9801, allocations: 181.9 MB / 1.265 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008888/0.989, allocations: 5.356 MB / 1.27 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.9904, allocations: 35.81 kB / 1.27 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.9918, allocations: 437.4 kB / 1.271 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.9961, allocations: 1.672 MB / 1.272 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.9981, allocations: 0.8013 MB / 1.273 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002882/1.001, allocations: 2.199 MB / 1.275 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/1.002, allocations: 0.6929 MB / 1.276 GB, free: 12.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/1.004, allocations: 0.7432 MB / 1.277 GB, free: 11.85 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/1.005, allocations: 0.6746 MB / 1.277 GB, free: 11.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/1.006, allocations: 72 kB / 1.277 GB, free: 11.11 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/1.008, allocations: 1.403 MB / 1.279 GB, free: 9.703 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004296/1.009, allocations: 327.1 kB / 1.279 GB, free: 9.383 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007334/1.009, allocations: 465.9 kB / 1.28 GB, free: 8.926 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002777/1.012, allocations: 1.663 MB / 1.281 GB, free: 7.258 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.012, allocations: 0 / 1.281 GB, free: 7.258 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.402e-06/1.012, allocations: 3.938 kB / 1.281 GB, free: 7.254 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.45e-05/1.012, allocations: 0 / 1.281 GB, free: 7.254 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.002157/1.014, allocations: 1.176 MB / 1.282 GB, free: 6.023 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.014, allocations: 8.031 kB / 1.282 GB, free: 6.016 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/1.015, allocations: 106.4 kB / 1.282 GB, free: 5.902 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/1.017, allocations: 274.7 kB / 1.283 GB, free: 5.633 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/1.018, allocations: 0.7137 MB / 1.283 GB, free: 4.879 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/1.018, allocations: 45.31 kB / 1.283 GB, free: 4.836 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/1.018, allocations: 60 kB / 1.284 GB, free: 4.777 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/1.019, allocations: 0.5843 MB / 1.284 GB, free: 4.184 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/1.019, allocations: 0 / 1.284 GB, free: 4.184 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/1.019, allocations: 20 kB / 1.284 GB, free: 4.164 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/1.019, allocations: 29.31 kB / 1.284 GB, free: 4.137 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/1.02, allocations: 0.5009 MB / 1.285 GB, free: 3.637 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.003391/1.024, allocations: 2.376 MB / 1.287 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007998/1.024, allocations: 432.9 kB / 1.287 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/1.025, allocations: 224.7 kB / 1.288 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/1.025, allocations: 101.1 kB / 1.288 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/1.025, allocations: 34.56 kB / 1.288 GB, free: 264 kB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 1.893e-06/1.025, allocations: 0 / 1.288 GB, free: 264 kB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.002967/1.028, allocations: 1.437 MB / 1.289 GB, free: 14.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/1.028, allocations: 55.84 kB / 1.289 GB, free: 14.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/1.029, allocations: 0.5383 MB / 1.29 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/1.029, allocations: 37.7 kB / 1.29 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/1.029, allocations: 332.6 kB / 1.29 GB, free: 13.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/1.029, allocations: 169.5 kB / 1.29 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/1.029, allocations: 86.25 kB / 1.29 GB, free: 13.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.029, allocations: 378.7 kB / 1.291 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/1.03, allocations: 173 kB / 1.291 GB, free: 12.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/1.03, allocations: 260.8 kB / 1.291 GB, free: 12.7 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.003437/1.034, allocations: 1.444 MB / 1.292 GB, free: 11.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.034, allocations: 4 kB / 1.292 GB, free: 11.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008751/1.035, allocations: 0.5303 MB / 1.293 GB, free: 10.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.035, allocations: 4 kB / 1.293 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.035, allocations: 4 kB / 1.293 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.035, allocations: 4 kB / 1.293 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/1.035, allocations: 95.84 kB / 1.293 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.035, allocations: 7.922 kB / 1.293 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006058/1.036, allocations: 28.08 kB / 1.293 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/1.036, allocations: 16 kB / 1.293 GB, free: 10.5 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.00032/1.036, allocations: 245.7 kB / 1.293 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/1.036, allocations: 71.19 kB / 1.293 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/1.036, allocations: 82.45 kB / 1.294 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/1.036, allocations: 8 kB / 1.294 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.036, allocations: 0 / 1.294 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007166/1.037, allocations: 0.5144 MB / 1.294 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/1.04, allocations: 1.596 MB / 1.296 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.04, allocations: 4 kB / 1.296 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/1.04, allocations: 111.8 kB / 1.296 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/1.04, allocations: 8 kB / 1.296 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/1.04, allocations: 23.98 kB / 1.296 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/1.04, allocations: 4 kB / 1.296 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.04, allocations: 15.88 kB / 1.296 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/1.041, allocations: 0.8907 MB / 1.297 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/1.042, allocations: 196.2 kB / 1.297 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/1.042, allocations: 19.98 kB / 1.297 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/1.042, allocations: 20 kB / 1.297 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/1.042, allocations: 47.77 kB / 1.297 GB, free: 6.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/1.042, allocations: 27.98 kB / 1.297 GB, free: 6.375 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004591/1.043, allocations: 398.8 kB / 1.297 GB, free: 5.988 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.043, allocations: 0 / 1.297 GB, free: 5.988 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006643/1.044, allocations: 196 kB / 1.298 GB, free: 5.797 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.001748/1.045, allocations: 1.532 MB / 1.299 GB, free: 4.188 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007696/1.046, allocations: 445.2 kB / 1.299 GB, free: 3.754 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.046, allocations: 0 / 1.299 GB, free: 3.754 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/1.047, allocations: 229.2 kB / 1.3 GB, free: 3.531 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/1.049, allocations: 0.4921 MB / 1.3 GB, free: 3.047 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00729/1.056, allocations: 5.464 MB / 1.305 GB, free: 13.34 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/1.057, allocations: 0.9694 MB / 1.306 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005877/1.057, allocations: 173.8 kB / 1.307 GB, free: 12.17 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/1.058, allocations: 255.1 kB / 1.307 GB, free: 11.93 MB / 1.045 GB Notification: Performance of SimCode: time 5.61e-07/1.058, allocations: 0 / 1.307 GB, free: 11.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04356/1.101, allocations: 20.36 MB / 1.327 GB, free: 7.957 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/9.319, allocations: 18.41 kB / 1.327 GB, free: 7.941 MB / 1.061 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