Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.007667/0.007667, allocations: 101 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.001992/0.001992, allocations: 195.2 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.412/1.412, 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.611/2.611, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 59.91 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7117, allocations: 151.6 MB / 1.166 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2184/0.9301, allocations: 190.6 MB / 1.352 GB, free: 4.379 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009628/0.9398, allocations: 5.723 MB / 1.358 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009886/0.9408, allocations: 39.75 kB / 1.358 GB, free: 14.61 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.9423, allocations: 0.5864 MB / 1.359 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004151/0.9465, allocations: 1.843 MB / 1.36 GB, free: 12.16 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.9494, allocations: 1.194 MB / 1.361 GB, free: 10.98 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003773/0.9532, allocations: 2.949 MB / 1.364 GB, free: 8.02 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.9545, allocations: 0.9498 MB / 1.365 GB, free: 7.059 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.9563, allocations: 1.047 MB / 1.366 GB, free: 6.008 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.9582, allocations: 0.9247 MB / 1.367 GB, free: 5.086 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.9584, allocations: 108 kB / 1.367 GB, free: 4.98 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002908/0.9613, allocations: 1.426 MB / 1.369 GB, free: 3.551 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005149/0.9618, allocations: 454.8 kB / 1.369 GB, free: 3.105 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007963/0.9626, allocations: 0.6534 MB / 1.37 GB, free: 2.449 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003094/0.9657, allocations: 2.141 MB / 1.372 GB, free: 308 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.9657, allocations: 7.938 kB / 1.372 GB, free: 300 kB / 1.092 GB Notification: Performance of FrontEnd: time 4.548e-06/0.9657, allocations: 0 / 1.372 GB, free: 300 kB / 1.092 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.9658, allocations: 3.938 kB / 1.372 GB, free: 296 kB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002561/0.9683, allocations: 1.541 MB / 1.373 GB, free: 14.69 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.9684, allocations: 8.922 kB / 1.373 GB, free: 14.68 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/0.9686, allocations: 143.2 kB / 1.374 GB, free: 14.53 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.9706, allocations: 323 kB / 1.374 GB, free: 14.21 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.9721, allocations: 0.856 MB / 1.375 GB, free: 13.32 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.9722, allocations: 70 kB / 1.375 GB, free: 13.25 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.9723, allocations: 87.94 kB / 1.375 GB, free: 13.16 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.9741, allocations: 0.9091 MB / 1.376 GB, free: 12.25 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.9741, allocations: 0 / 1.376 GB, free: 12.25 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.62e-05/0.9742, allocations: 40 kB / 1.376 GB, free: 12.21 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/0.9743, allocations: 30 kB / 1.376 GB, free: 12.18 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.9758, allocations: 0.8276 MB / 1.377 GB, free: 11.35 MB / 1.107 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.005666/0.9815, allocations: 3.514 MB / 1.38 GB, free: 7.613 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000854/0.9824, allocations: 0.498 MB / 1.381 GB, free: 7.113 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005136/0.9829, allocations: 302 kB / 1.381 GB, free: 6.816 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.9831, allocations: 101.5 kB / 1.381 GB, free: 6.699 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.9832, allocations: 43 kB / 1.381 GB, free: 6.648 MB / 1.107 GB Notification: Performance of pre-optimization done (n=47): time 4.078e-06/0.9832, allocations: 4 kB / 1.381 GB, free: 6.645 MB / 1.107 GB Notification: Performance of matching and sorting (n=49): time 0.004198/0.9874, allocations: 1.932 MB / 1.383 GB, free: 4.617 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.9875, allocations: 59.84 kB / 1.383 GB, free: 4.547 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.9885, allocations: 0.802 MB / 1.384 GB, free: 3.738 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.9886, allocations: 41.7 kB / 1.384 GB, free: 3.691 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/0.989, allocations: 484.2 kB / 1.384 GB, free: 3.215 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.9892, allocations: 178.4 kB / 1.384 GB, free: 3.039 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.9894, allocations: 118.3 kB / 1.384 GB, free: 2.918 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.9896, allocations: 329.9 kB / 1.385 GB, free: 2.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.9901, allocations: 241.2 kB / 1.385 GB, free: 2.355 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.9907, allocations: 361.2 kB / 1.385 GB, free: 1.965 MB / 1.107 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004038/0.9947, allocations: 1.534 MB / 1.387 GB, free: 388 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9947, allocations: 0 / 1.387 GB, free: 388 kB / 1.107 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001497/0.9962, allocations: 0.7894 MB / 1.388 GB, free: 15.57 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.9963, allocations: 8 kB / 1.388 GB, free: 15.56 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.9963, allocations: 4 kB / 1.388 GB, free: 15.56 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/0.9966, allocations: 93.59 kB / 1.388 GB, free: 15.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/0.9973, allocations: 147.8 kB / 1.388 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/1.001, allocations: 3.307 MB / 1.391 GB, free: 11.74 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008907/1.002, allocations: 23.98 kB / 1.391 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/1.002, allocations: 20.19 kB / 1.391 GB, free: 11.7 MB / 1.123 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004935/1.002, allocations: 298.6 kB / 1.391 GB, free: 11.39 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/1.002, allocations: 107.4 kB / 1.392 GB, free: 11.29 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/1.003, allocations: 100.7 kB / 1.392 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/1.003, allocations: 4 kB / 1.392 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.003, allocations: 3.938 kB / 1.392 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/1.004, allocations: 0.8427 MB / 1.392 GB, free: 10.24 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/1.007, allocations: 1.792 MB / 1.394 GB, free: 8.352 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.007, allocations: 4 kB / 1.394 GB, free: 8.348 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/1.008, allocations: 123.9 kB / 1.394 GB, free: 8.227 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/1.008, allocations: 81.19 kB / 1.394 GB, free: 8.145 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/1.008, allocations: 12 kB / 1.394 GB, free: 8.133 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/1.01, allocations: 1.785 MB / 1.396 GB, free: 6.211 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.01, allocations: 4 kB / 1.396 GB, free: 6.207 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/1.012, allocations: 1.074 MB / 1.397 GB, free: 5.074 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/1.012, allocations: 240.4 kB / 1.397 GB, free: 4.82 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/1.012, allocations: 16 kB / 1.397 GB, free: 4.805 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/1.013, allocations: 34.56 kB / 1.397 GB, free: 4.773 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.013, allocations: 43.89 kB / 1.398 GB, free: 4.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/1.013, allocations: 35.91 kB / 1.398 GB, free: 4.695 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007944/1.014, allocations: 0.5615 MB / 1.398 GB, free: 4.141 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.014, allocations: 0 / 1.398 GB, free: 4.141 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008496/1.015, allocations: 283.9 kB / 1.398 GB, free: 3.863 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002375/1.017, allocations: 1.711 MB / 1.4 GB, free: 2.086 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001463/1.019, allocations: 0.8078 MB / 1.401 GB, free: 1.258 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.019, allocations: 0 / 1.401 GB, free: 1.258 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006544/1.019, allocations: 411.8 kB / 1.401 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/1.022, allocations: 0.6116 MB / 1.402 GB, free: 252 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/1.033, allocations: 7.009 MB / 1.409 GB, free: 8.945 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008174/1.034, allocations: 1.087 MB / 1.41 GB, free: 7.824 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008576/1.034, allocations: 207.7 kB / 1.41 GB, free: 7.617 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/1.035, allocations: 339.3 kB / 1.41 GB, free: 7.289 MB / 1.139 GB Notification: Performance of SimCode: time 4.71e-07/1.035, allocations: 3.938 kB / 1.41 GB, free: 7.285 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06785/1.103, allocations: 28.04 MB / 1.438 GB, free: 11.64 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.4, allocations: 2.344 kB / 1.438 GB, free: 11.64 MB / 1.17 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches