Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_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.007894/0.007894, 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.001874/0.001874, 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.359/1.359, 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.183/2.183, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001209, allocations: 75.86 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6951/0.6963, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.201/0.8973, allocations: 190.6 MB / 1.274 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008649/0.906, allocations: 5.735 MB / 1.279 GB, free: 9.379 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.9074, allocations: 35.81 kB / 1.279 GB, free: 9.344 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.909, allocations: 0.5902 MB / 1.28 GB, free: 8.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004141/0.9131, allocations: 1.843 MB / 1.282 GB, free: 6.898 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.9158, allocations: 1.191 MB / 1.283 GB, free: 5.715 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003007/0.9188, allocations: 2.955 MB / 1.286 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.9198, allocations: 0.9459 MB / 1.287 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.9211, allocations: 1.055 MB / 1.288 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.9225, allocations: 0.9041 MB / 1.289 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.9227, allocations: 108 kB / 1.289 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.9249, allocations: 1.426 MB / 1.29 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004077/0.9253, allocations: 462.8 kB / 1.29 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006119/0.9259, allocations: 0.6573 MB / 1.291 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.9282, allocations: 2.135 MB / 1.293 GB, free: 11.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.9282, allocations: 0 / 1.293 GB, free: 11.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9283, allocations: 0 / 1.293 GB, free: 11.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.9283, allocations: 0 / 1.293 GB, free: 11.05 MB / 1.029 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.002336/0.9306, allocations: 1.515 MB / 1.295 GB, free: 9.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.9307, allocations: 12.03 kB / 1.295 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.9308, allocations: 139.2 kB / 1.295 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.9328, allocations: 310.4 kB / 1.295 GB, free: 9.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.9341, allocations: 0.859 MB / 1.296 GB, free: 8.117 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/0.9342, allocations: 69.98 kB / 1.296 GB, free: 8.047 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.9343, allocations: 80 kB / 1.296 GB, free: 7.969 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.9358, allocations: 0.9091 MB / 1.297 GB, free: 7.051 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.9358, allocations: 0 / 1.297 GB, free: 7.051 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-05/0.9359, allocations: 43.98 kB / 1.297 GB, free: 7.008 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.936, allocations: 34 kB / 1.297 GB, free: 6.977 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.9373, allocations: 0.8276 MB / 1.298 GB, free: 6.148 MB / 1.029 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.005063/0.9424, allocations: 3.501 MB / 1.301 GB, free: 2.426 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008148/0.9432, allocations: 0.4897 MB / 1.302 GB, free: 1.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000446/0.9437, allocations: 299 kB / 1.302 GB, free: 1.637 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.9439, allocations: 109.5 kB / 1.302 GB, free: 1.512 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.9439, allocations: 39 kB / 1.302 GB, free: 1.465 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 1.793e-06/0.9439, allocations: 4 kB / 1.302 GB, free: 1.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.00377/0.9477, allocations: 1.915 MB / 1.304 GB, free: 15.44 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.9477, allocations: 59.84 kB / 1.304 GB, free: 15.37 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008885/0.9486, allocations: 0.8058 MB / 1.305 GB, free: 14.55 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/0.9487, allocations: 41.7 kB / 1.305 GB, free: 14.51 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.949, allocations: 471.3 kB / 1.305 GB, free: 14.04 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.9492, allocations: 173.5 kB / 1.306 GB, free: 13.87 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.9493, allocations: 110.2 kB / 1.306 GB, free: 13.76 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.9495, allocations: 337.9 kB / 1.306 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.9499, allocations: 237.2 kB / 1.306 GB, free: 13.19 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/0.9504, allocations: 357.2 kB / 1.307 GB, free: 12.8 MB / 1.045 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.003716/0.9541, allocations: 1.538 MB / 1.308 GB, free: 11.21 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.9541, allocations: 4 kB / 1.308 GB, free: 11.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001394/0.9555, allocations: 0.7845 MB / 1.309 GB, free: 10.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9556, allocations: 8 kB / 1.309 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.9556, allocations: 8 kB / 1.309 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.9559, allocations: 93.98 kB / 1.309 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/0.9566, allocations: 139.8 kB / 1.309 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.9594, allocations: 3.304 MB / 1.312 GB, free: 6.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008742/0.9603, allocations: 23.92 kB / 1.312 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.9604, allocations: 20 kB / 1.312 GB, free: 6.531 MB / 1.045 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.0004445/0.9608, allocations: 310.2 kB / 1.313 GB, free: 6.219 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.961, allocations: 94.88 kB / 1.313 GB, free: 6.125 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.9612, allocations: 100.7 kB / 1.313 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.9612, allocations: 4 kB / 1.313 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.9612, allocations: 0 / 1.313 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/0.9622, allocations: 0.8427 MB / 1.314 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.9649, allocations: 1.79 MB / 1.315 GB, free: 3.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.965, allocations: 4 kB / 1.315 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.9656, allocations: 136.2 kB / 1.316 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002201/0.9658, allocations: 64.81 kB / 1.316 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.9659, allocations: 16 kB / 1.316 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.9674, allocations: 1.785 MB / 1.317 GB, free: 1.055 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.9674, allocations: 4 kB / 1.317 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.9689, allocations: 1.07 MB / 1.318 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.9693, allocations: 231.9 kB / 1.319 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.9694, allocations: 24 kB / 1.319 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007006/0.9701, allocations: 38.34 kB / 1.319 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.907e-05/0.9702, allocations: 39.89 kB / 1.319 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.229e-05/0.9703, allocations: 27.98 kB / 1.319 GB, free: 15.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006492/0.9709, allocations: 0.5615 MB / 1.319 GB, free: 14.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/0.971, allocations: 4 kB / 1.319 GB, free: 14.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008025/0.9718, allocations: 280 kB / 1.32 GB, free: 14.71 MB / 1.061 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.002014/0.9738, allocations: 1.713 MB / 1.321 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.975, allocations: 0.8006 MB / 1.322 GB, free: 12.12 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.975, allocations: 0 / 1.322 GB, free: 12.12 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000562/0.9756, allocations: 418.3 kB / 1.322 GB, free: 11.7 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.9782, allocations: 0.6073 MB / 1.323 GB, free: 11.1 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008598/0.9868, allocations: 6.959 MB / 1.33 GB, free: 3.848 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.9874, allocations: 1.087 MB / 1.331 GB, free: 2.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0006487/0.9881, allocations: 211.7 kB / 1.331 GB, free: 2.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/0.9885, allocations: 347.3 kB / 1.331 GB, free: 2.18 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.9885, allocations: 0 / 1.331 GB, free: 2.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05343/1.042, allocations: 28.02 MB / 1.359 GB, free: 6.672 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/13.05, allocations: 7.922 kB / 1.359 GB, free: 6.664 MB / 1.092 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches