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.001098/0.001098, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.534/2.534, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 67.89 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5705/0.5719, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1828/0.7548, allocations: 181.9 MB / 1.195 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008068/0.7629, allocations: 5.365 MB / 1.2 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000815/0.7638, allocations: 35.81 kB / 1.2 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.7649, allocations: 437.4 kB / 1.201 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.7684, allocations: 1.668 MB / 1.202 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.7702, allocations: 0.8034 MB / 1.203 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002284/0.7725, allocations: 2.192 MB / 1.205 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008059/0.7733, allocations: 0.689 MB / 1.206 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009048/0.7742, allocations: 0.7355 MB / 1.207 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.7757, allocations: 0.6749 MB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.7758, allocations: 79.98 kB / 1.207 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.7782, allocations: 1.387 MB / 1.209 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003336/0.7786, allocations: 327.1 kB / 1.209 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.7791, allocations: 465.9 kB / 1.21 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.7811, allocations: 1.652 MB / 1.211 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7812, allocations: 0 / 1.211 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7812, allocations: 0 / 1.211 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.7812, allocations: 4 kB / 1.211 GB, free: 11.38 MB / 0.9669 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.001716/0.7829, allocations: 1.176 MB / 1.212 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.783, allocations: 8.031 kB / 1.212 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.7831, allocations: 102.5 kB / 1.212 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/0.7849, allocations: 274.7 kB / 1.213 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009817/0.7859, allocations: 0.667 MB / 1.213 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.7859, allocations: 45.31 kB / 1.213 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.576e-05/0.786, allocations: 59.98 kB / 1.213 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.7871, allocations: 0.5921 MB / 1.214 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.7871, allocations: 4 kB / 1.214 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.7872, allocations: 27.94 kB / 1.214 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.7872, allocations: 21.31 kB / 1.214 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009112/0.7881, allocations: 0.5009 MB / 1.215 GB, free: 7.801 MB / 0.9669 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.003108/0.7913, allocations: 2.404 MB / 1.217 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008386/0.7921, allocations: 429.3 kB / 1.217 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.7925, allocations: 216.8 kB / 1.217 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.7927, allocations: 105.1 kB / 1.218 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.7927, allocations: 38.56 kB / 1.218 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.7927, allocations: 0 / 1.218 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.002889/0.7956, allocations: 1.439 MB / 1.219 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.7957, allocations: 59.83 kB / 1.219 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005861/0.7963, allocations: 0.5383 MB / 1.22 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.7963, allocations: 33.7 kB / 1.22 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.7966, allocations: 328.6 kB / 1.22 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.7967, allocations: 165.5 kB / 1.22 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.7969, allocations: 90.25 kB / 1.22 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.797, allocations: 378.7 kB / 1.221 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.7973, allocations: 173 kB / 1.221 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.7977, allocations: 256.8 kB / 1.221 GB, free: 0.8398 MB / 0.9669 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.003431/0.8012, allocations: 1.452 MB / 1.222 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8012, allocations: 4 kB / 1.222 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008566/0.802, allocations: 0.5265 MB / 1.223 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.8021, allocations: 8 kB / 1.223 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8021, allocations: 7.922 kB / 1.223 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.8021, allocations: 4 kB / 1.223 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.8025, allocations: 95.89 kB / 1.223 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.8025, allocations: 8.156 kB / 1.223 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006041/0.8032, allocations: 19.84 kB / 1.223 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.8032, allocations: 19.94 kB / 1.223 GB, free: 14.64 MB / 0.9825 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.0003706/0.8036, allocations: 243.1 kB / 1.223 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.8037, allocations: 71.23 kB / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.8039, allocations: 78.45 kB / 1.223 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.8039, allocations: 8.031 kB / 1.223 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.8039, allocations: 4 kB / 1.223 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000726/0.8046, allocations: 0.5222 MB / 1.224 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.8069, allocations: 1.589 MB / 1.226 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.8069, allocations: 4 kB / 1.226 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.8074, allocations: 115.9 kB / 1.226 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.8075, allocations: 8 kB / 1.226 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.8075, allocations: 16 kB / 1.226 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.8075, allocations: 11.94 kB / 1.226 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.8075, allocations: 7.938 kB / 1.226 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.8087, allocations: 0.9025 MB / 1.227 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.8089, allocations: 196.3 kB / 1.227 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-05/0.809, allocations: 16 kB / 1.227 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.8096, allocations: 23.89 kB / 1.227 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.8097, allocations: 47.78 kB / 1.227 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.8097, allocations: 23.98 kB / 1.227 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004351/0.8102, allocations: 398.8 kB / 1.227 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8102, allocations: 0 / 1.227 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000642/0.8108, allocations: 196 kB / 1.227 GB, free: 9.938 MB / 0.9825 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.00172/0.8125, allocations: 1.516 MB / 1.229 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008664/0.8134, allocations: 481.2 kB / 1.229 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.8134, allocations: 7.938 kB / 1.229 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.8138, allocations: 236.6 kB / 1.23 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.816, allocations: 490.3 kB / 1.23 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00757/0.8236, allocations: 5.619 MB / 1.236 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.8242, allocations: 0.9811 MB / 1.236 GB, free: 324 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006968/0.825, allocations: 161.9 kB / 1.237 GB, free: 160 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.8253, allocations: 247.4 kB / 1.237 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of SimCode: time 6.32e-07/0.8254, allocations: 0 / 1.237 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4793/1.305, allocations: 20.27 MB / 1.257 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/8.98, allocations: 10.45 kB / 1.257 GB, free: 233.6 MB / 0.9981 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