Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_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.007353/0.007353, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.002111/0.002111, allocations: 196.5 kB / 16.67 MB, free: 6.355 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 482.4 MB / 0.7548 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.91 kB / 1.083 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2926, allocations: 162.2 MB / 1.241 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.7295/1.022, allocations: 190.7 MB / 1.428 GB, free: 5.93 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009363/1.032, allocations: 5.747 MB / 1.433 GB, free: 1.246 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008189/1.032, allocations: 42.31 kB / 1.433 GB, free: 1.23 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/1.034, allocations: 0.5687 MB / 1.434 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004025/1.038, allocations: 1.846 MB / 1.436 GB, free: 15.31 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00269/1.041, allocations: 1.188 MB / 1.437 GB, free: 14.41 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003192/1.044, allocations: 2.947 MB / 1.44 GB, free: 12.71 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/1.045, allocations: 0.9561 MB / 1.441 GB, free: 11.87 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/1.047, allocations: 1.242 MB / 1.442 GB, free: 10.62 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/1.049, allocations: 0.8978 MB / 1.443 GB, free: 9.727 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000205/1.049, allocations: 108 kB / 1.443 GB, free: 9.621 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/1.052, allocations: 1.423 MB / 1.444 GB, free: 8.195 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004921/1.052, allocations: 462.8 kB / 1.445 GB, free: 7.742 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007473/1.053, allocations: 0.6534 MB / 1.445 GB, free: 7.086 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002794/1.056, allocations: 2.145 MB / 1.447 GB, free: 4.934 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/1.056, allocations: 0 / 1.447 GB, free: 4.934 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.232e-06/1.056, allocations: 0 / 1.447 GB, free: 4.934 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.287e-05/1.056, allocations: 0 / 1.447 GB, free: 4.934 MB / 1.139 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.002532/1.058, allocations: 1.545 MB / 1.449 GB, free: 3.332 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/1.058, allocations: 8.031 kB / 1.449 GB, free: 3.324 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/1.059, allocations: 143.2 kB / 1.449 GB, free: 3.176 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/1.061, allocations: 323 kB / 1.449 GB, free: 2.859 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/1.062, allocations: 0.8676 MB / 1.45 GB, free: 1.949 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.555e-05/1.062, allocations: 64.5 kB / 1.45 GB, free: 1.891 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/1.062, allocations: 84 kB / 1.45 GB, free: 1.809 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/1.064, allocations: 0.9111 MB / 1.451 GB, free: 0.8906 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/1.064, allocations: 3.984 kB / 1.451 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.79e-05/1.064, allocations: 40 kB / 1.451 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.495e-05/1.064, allocations: 30 kB / 1.451 GB, free: 0.8164 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/1.066, allocations: 0.8315 MB / 1.452 GB, free: 15.98 MB / 1.154 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.005549/1.071, allocations: 3.514 MB / 1.456 GB, free: 12.25 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008658/1.072, allocations: 0.4925 MB / 1.456 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005095/1.073, allocations: 298.5 kB / 1.456 GB, free: 11.45 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/1.073, allocations: 97.53 kB / 1.456 GB, free: 11.34 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/1.073, allocations: 46.98 kB / 1.456 GB, free: 11.29 MB / 1.154 GB Notification: Performance of pre-optimization done (n=47): time 1.824e-06/1.073, allocations: 0 / 1.456 GB, free: 11.29 MB / 1.154 GB Notification: Performance of matching and sorting (n=49): time 0.004174/1.077, allocations: 1.94 MB / 1.458 GB, free: 9.246 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/1.077, allocations: 59.78 kB / 1.458 GB, free: 9.176 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/1.078, allocations: 0.8057 MB / 1.459 GB, free: 8.363 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/1.078, allocations: 41.7 kB / 1.459 GB, free: 8.316 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/1.079, allocations: 488.2 kB / 1.46 GB, free: 7.836 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/1.079, allocations: 178.4 kB / 1.46 GB, free: 7.66 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/1.079, allocations: 118.2 kB / 1.46 GB, free: 7.539 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.079, allocations: 329.9 kB / 1.46 GB, free: 7.211 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/1.08, allocations: 241.2 kB / 1.461 GB, free: 6.977 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/1.08, allocations: 357.2 kB / 1.461 GB, free: 6.59 MB / 1.154 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.004062/1.084, allocations: 1.526 MB / 1.462 GB, free: 5.008 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.084, allocations: 0 / 1.462 GB, free: 5.008 MB / 1.154 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001455/1.086, allocations: 0.7889 MB / 1.463 GB, free: 4.207 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.086, allocations: 11.98 kB / 1.463 GB, free: 4.195 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.086, allocations: 0 / 1.463 GB, free: 4.195 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/1.086, allocations: 97.94 kB / 1.463 GB, free: 4.094 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/1.087, allocations: 143.8 kB / 1.463 GB, free: 3.953 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/1.09, allocations: 3.295 MB / 1.467 GB, free: 384 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007539/1.091, allocations: 31.92 kB / 1.467 GB, free: 352 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/1.091, allocations: 20 kB / 1.467 GB, free: 332 kB / 1.154 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.0004434/1.091, allocations: 305.6 kB / 1.467 GB, free: 16 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/1.092, allocations: 95.48 kB / 1.467 GB, free: 15.92 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/1.092, allocations: 100.7 kB / 1.467 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.092, allocations: 4 kB / 1.467 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/1.092, allocations: 0 / 1.467 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/1.093, allocations: 0.8465 MB / 1.468 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002985/1.096, allocations: 1.792 MB / 1.47 GB, free: 12.99 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.096, allocations: 4 kB / 1.47 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/1.097, allocations: 128.2 kB / 1.47 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002462/1.097, allocations: 72.8 kB / 1.47 GB, free: 12.79 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/1.097, allocations: 11.94 kB / 1.47 GB, free: 12.77 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/1.099, allocations: 1.794 MB / 1.472 GB, free: 10.84 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.099, allocations: 7.938 kB / 1.472 GB, free: 10.84 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/1.101, allocations: 1.07 MB / 1.473 GB, free: 9.711 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/1.101, allocations: 244.3 kB / 1.473 GB, free: 9.453 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/1.101, allocations: 19.98 kB / 1.473 GB, free: 9.434 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006919/1.102, allocations: 30.67 kB / 1.473 GB, free: 9.406 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/1.102, allocations: 43.83 kB / 1.473 GB, free: 9.363 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/1.102, allocations: 31.98 kB / 1.473 GB, free: 9.332 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007697/1.103, allocations: 0.5615 MB / 1.474 GB, free: 8.777 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/1.103, allocations: 0 / 1.474 GB, free: 8.777 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008259/1.104, allocations: 284 kB / 1.474 GB, free: 8.5 MB / 1.17 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.002391/1.106, allocations: 1.712 MB / 1.476 GB, free: 6.723 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001451/1.108, allocations: 0.8038 MB / 1.476 GB, free: 5.895 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/1.108, allocations: 4.688 kB / 1.476 GB, free: 5.891 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006672/1.108, allocations: 414.5 kB / 1.477 GB, free: 5.473 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/1.111, allocations: 0.6107 MB / 1.477 GB, free: 4.875 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/1.122, allocations: 7.017 MB / 1.484 GB, free: 13.57 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008083/1.123, allocations: 1.084 MB / 1.485 GB, free: 12.46 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007897/1.123, allocations: 215.6 kB / 1.485 GB, free: 12.25 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004964/1.124, allocations: 343.3 kB / 1.486 GB, free: 11.91 MB / 1.186 GB Notification: Performance of SimCode: time 6.62e-07/1.124, allocations: 0 / 1.486 GB, free: 11.91 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06892/1.193, allocations: 28.02 MB / 1.513 GB, free: 360 kB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.84, allocations: 10.55 kB / 1.513 GB, free: 352 kB / 1.201 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches