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.007825/0.007825, allocations: 101.2 kB / 15.73 MB, free: 6.062 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.002181/0.002181, allocations: 189.5 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.418/1.418, 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 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 72.12 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7095/0.7114, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2174/0.9288, allocations: 181.9 MB / 1.344 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009071/0.9379, allocations: 5.357 MB / 1.349 GB, free: 7.832 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009583/0.9389, allocations: 35.81 kB / 1.349 GB, free: 7.797 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.9402, allocations: 441.4 kB / 1.349 GB, free: 7.363 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004153/0.9443, allocations: 1.68 MB / 1.351 GB, free: 5.676 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.9464, allocations: 0.8022 MB / 1.352 GB, free: 4.879 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002914/0.9493, allocations: 2.199 MB / 1.354 GB, free: 2.672 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009859/0.9503, allocations: 0.689 MB / 1.355 GB, free: 1.969 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.9514, allocations: 0.7393 MB / 1.355 GB, free: 1.227 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.9531, allocations: 0.672 MB / 1.356 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.9532, allocations: 76 kB / 1.356 GB, free: 500 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/0.9559, allocations: 1.399 MB / 1.358 GB, free: 15.09 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003823/0.9563, allocations: 323.1 kB / 1.358 GB, free: 14.77 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005262/0.9568, allocations: 473.8 kB / 1.358 GB, free: 14.3 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.9591, allocations: 1.67 MB / 1.36 GB, free: 12.63 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9592, allocations: 4 kB / 1.36 GB, free: 12.62 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.223e-06/0.9592, allocations: 4 kB / 1.36 GB, free: 12.62 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.9592, allocations: 0 / 1.36 GB, free: 12.62 MB / 1.092 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.001845/0.961, allocations: 1.198 MB / 1.361 GB, free: 11.37 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.9611, allocations: 12.86 kB / 1.361 GB, free: 11.36 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.9612, allocations: 110.5 kB / 1.361 GB, free: 11.24 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.963, allocations: 275.2 kB / 1.361 GB, free: 10.97 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.9642, allocations: 0.7143 MB / 1.362 GB, free: 10.21 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.9643, allocations: 49.31 kB / 1.362 GB, free: 10.17 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.9644, allocations: 60 kB / 1.362 GB, free: 10.11 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.9655, allocations: 0.5804 MB / 1.363 GB, free: 9.52 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.9655, allocations: 3.984 kB / 1.363 GB, free: 9.516 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.9656, allocations: 23.98 kB / 1.363 GB, free: 9.492 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.9656, allocations: 25.31 kB / 1.363 GB, free: 9.469 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009671/0.9666, allocations: 0.5009 MB / 1.363 GB, free: 8.969 MB / 1.092 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.003364/0.97, allocations: 2.389 MB / 1.366 GB, free: 6.391 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/0.9708, allocations: 429.7 kB / 1.366 GB, free: 5.965 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004071/0.9712, allocations: 226.8 kB / 1.366 GB, free: 5.742 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.9714, allocations: 97.08 kB / 1.366 GB, free: 5.629 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.9715, allocations: 38.56 kB / 1.366 GB, free: 5.582 MB / 1.092 GB Notification: Performance of pre-optimization done (n=43): time 1.684e-06/0.9715, allocations: 0 / 1.366 GB, free: 5.582 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.003023/0.9745, allocations: 1.452 MB / 1.368 GB, free: 4.082 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.9746, allocations: 55.84 kB / 1.368 GB, free: 4.016 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006924/0.9753, allocations: 0.5421 MB / 1.368 GB, free: 3.461 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/0.9753, allocations: 37.7 kB / 1.369 GB, free: 3.418 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.9756, allocations: 337.1 kB / 1.369 GB, free: 3.086 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.9758, allocations: 174.5 kB / 1.369 GB, free: 2.914 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.976, allocations: 90.2 kB / 1.369 GB, free: 2.82 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002198/0.9762, allocations: 374.7 kB / 1.369 GB, free: 2.445 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.9765, allocations: 173 kB / 1.37 GB, free: 2.277 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.9769, allocations: 264.8 kB / 1.37 GB, free: 1.996 MB / 1.092 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.00353/0.9805, allocations: 1.447 MB / 1.371 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.9805, allocations: 0 / 1.371 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009326/0.9814, allocations: 0.5347 MB / 1.372 GB, free: 15.95 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.9815, allocations: 4 kB / 1.372 GB, free: 15.95 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.9815, allocations: 8.156 kB / 1.372 GB, free: 15.94 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.9815, allocations: 0 / 1.372 GB, free: 15.94 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.9819, allocations: 95.84 kB / 1.372 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.9819, allocations: 7.984 kB / 1.372 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/0.9825, allocations: 28.42 kB / 1.372 GB, free: 15.81 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.9825, allocations: 16 kB / 1.372 GB, free: 15.79 MB / 1.107 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.0003375/0.9829, allocations: 242.8 kB / 1.372 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.983, allocations: 71.58 kB / 1.372 GB, free: 15.48 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.9832, allocations: 82.45 kB / 1.372 GB, free: 15.39 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.9832, allocations: 8 kB / 1.372 GB, free: 15.39 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.9832, allocations: 0 / 1.372 GB, free: 15.39 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008121/0.984, allocations: 0.5144 MB / 1.373 GB, free: 14.84 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.9865, allocations: 1.584 MB / 1.374 GB, free: 13.14 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.9866, allocations: 4 kB / 1.374 GB, free: 13.14 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/0.9871, allocations: 111.8 kB / 1.374 GB, free: 13.03 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.9871, allocations: 12.03 kB / 1.375 GB, free: 13.02 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.9872, allocations: 20.61 kB / 1.375 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.9872, allocations: 12 kB / 1.375 GB, free: 12.98 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.9872, allocations: 19.81 kB / 1.375 GB, free: 12.96 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.9886, allocations: 0.8949 MB / 1.375 GB, free: 12 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.9889, allocations: 196.7 kB / 1.376 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/0.989, allocations: 19.98 kB / 1.376 GB, free: 11.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/0.9895, allocations: 27.95 kB / 1.376 GB, free: 11.74 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/0.9896, allocations: 43.77 kB / 1.376 GB, free: 11.7 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.9896, allocations: 27.98 kB / 1.376 GB, free: 11.67 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004984/0.9901, allocations: 394.8 kB / 1.376 GB, free: 11.29 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9901, allocations: 4 kB / 1.376 GB, free: 11.28 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006399/0.9908, allocations: 203.9 kB / 1.376 GB, free: 11.08 MB / 1.107 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.001983/0.9928, allocations: 1.531 MB / 1.378 GB, free: 9.473 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008412/0.9936, allocations: 445.5 kB / 1.378 GB, free: 9.039 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9936, allocations: 4 kB / 1.378 GB, free: 9.035 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.994, allocations: 227.9 kB / 1.378 GB, free: 8.812 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.9964, allocations: 494.2 kB / 1.379 GB, free: 8.344 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007733/1.004, allocations: 5.483 MB / 1.384 GB, free: 2.629 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/1.005, allocations: 0.9772 MB / 1.385 GB, free: 1.617 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000598/1.005, allocations: 165.8 kB / 1.385 GB, free: 1.453 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/1.006, allocations: 251.4 kB / 1.386 GB, free: 1.211 MB / 1.107 GB Notification: Performance of SimCode: time 6.22e-07/1.006, allocations: 0 / 1.386 GB, free: 1.211 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05072/1.057, allocations: 20.38 MB / 1.406 GB, free: 13.15 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.175/10.23, allocations: 10.2 kB / 1.406 GB, free: 13.14 MB / 1.139 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