Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001907/0.001907, 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.002384/0.002384, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.384/1.384, 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.643/2.643, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.89 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5442/0.5455, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1822/0.7278, allocations: 190.5 MB / 1.203 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008677/0.7365, allocations: 5.714 MB / 1.209 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.7377, allocations: 39.75 kB / 1.209 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.7392, allocations: 0.5591 MB / 1.21 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.7429, allocations: 1.621 MB / 1.211 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.7458, allocations: 1.192 MB / 1.212 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003029/0.7488, allocations: 2.562 MB / 1.215 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.7503, allocations: 1.024 MB / 1.216 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.7525, allocations: 1.047 MB / 1.217 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.7543, allocations: 0.8615 MB / 1.218 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002702/0.7546, allocations: 108 kB / 1.218 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.7575, allocations: 1.551 MB / 1.219 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004857/0.758, allocations: 0.5026 MB / 1.22 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006714/0.7587, allocations: 0.6417 MB / 1.22 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002446/0.7611, allocations: 2.166 MB / 1.223 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7611, allocations: 0 / 1.223 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7611, allocations: 0 / 1.223 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.7612, allocations: 0 / 1.223 GB, free: 15.6 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002209/0.7634, allocations: 1.519 MB / 1.224 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.7634, allocations: 8.031 kB / 1.224 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.7636, allocations: 139.3 kB / 1.224 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/0.7666, allocations: 478.1 kB / 1.225 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.7679, allocations: 0.8162 MB / 1.225 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/0.7683, allocations: 121.9 kB / 1.226 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.7684, allocations: 87.94 kB / 1.226 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.7706, allocations: 1.183 MB / 1.227 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.7706, allocations: 0 / 1.227 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.7707, allocations: 39.98 kB / 1.227 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.7708, allocations: 41.98 kB / 1.227 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.7732, allocations: 1.077 MB / 1.228 GB, free: 9.98 MB / 0.9825 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.006613/0.7798, allocations: 4.354 MB / 1.232 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/0.782, allocations: 0.7638 MB / 1.233 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009912/0.783, allocations: 406 kB / 1.233 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.7832, allocations: 109.1 kB / 1.233 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.7832, allocations: 42.5 kB / 1.233 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.375e-06/0.7832, allocations: 0 / 1.233 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.005952/0.7892, allocations: 2.203 MB / 1.236 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.7893, allocations: 59.41 kB / 1.236 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.7903, allocations: 0.8608 MB / 1.236 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.99e-05/0.7904, allocations: 41.64 kB / 1.237 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.7907, allocations: 491.3 kB / 1.237 GB, free: 292 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.7909, allocations: 169.6 kB / 1.237 GB, free: 120 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.7911, allocations: 122.3 kB / 1.237 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7912, allocations: 330 kB / 1.238 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.7922, allocations: 373 kB / 1.238 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.7933, allocations: 0.507 MB / 1.238 GB, free: 14.74 MB / 0.9981 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.006335/0.7997, allocations: 2.285 MB / 1.241 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.7997, allocations: 4 kB / 1.241 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002466/0.8022, allocations: 0.9937 MB / 1.242 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.8022, allocations: 16.11 kB / 1.242 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.8022, allocations: 4 kB / 1.242 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.8023, allocations: 11.94 kB / 1.242 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/0.8032, allocations: 191.7 kB / 1.242 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.8033, allocations: 7.938 kB / 1.242 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.8043, allocations: 67.94 kB / 1.242 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/0.8044, allocations: 31.98 kB / 1.242 GB, free: 11.05 MB / 0.9981 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0004718/0.8049, allocations: 313.5 kB / 1.242 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.805, allocations: 90.97 kB / 1.242 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.8052, allocations: 112.7 kB / 1.242 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.8053, allocations: 4 kB / 1.242 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8053, allocations: 0 / 1.242 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002093/0.8074, allocations: 1.034 MB / 1.243 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004551/0.8119, allocations: 2.159 MB / 1.246 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.8119, allocations: 0 / 1.246 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009088/0.8129, allocations: 168.1 kB / 1.246 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.8129, allocations: 8 kB / 1.246 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.8129, allocations: 19.98 kB / 1.246 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.8129, allocations: 7.938 kB / 1.246 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.813, allocations: 4 kB / 1.246 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/0.8162, allocations: 1.433 MB / 1.247 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004057/0.8166, allocations: 255.9 kB / 1.247 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.8167, allocations: 12 kB / 1.247 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009782/0.8177, allocations: 75.88 kB / 1.248 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.8178, allocations: 35.89 kB / 1.248 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/0.8179, allocations: 27.98 kB / 1.248 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007276/0.8186, allocations: 0.6043 MB / 1.248 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8186, allocations: 4 kB / 1.248 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008098/0.8195, allocations: 268 kB / 1.248 GB, free: 4.18 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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): 45 * 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.00371/0.8232, allocations: 2.075 MB / 1.25 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.8255, allocations: 0.8905 MB / 1.251 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8255, allocations: 0 / 1.251 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.8265, allocations: 400.3 kB / 1.252 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.829, allocations: 0.5837 MB / 1.252 GB, free: 200 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4268/1.256, allocations: 8.557 MB / 1.261 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/1.257, allocations: 1.107 MB / 1.262 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001151/1.258, allocations: 260.3 kB / 1.262 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/1.258, allocations: 354.6 kB / 1.262 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/1.258, allocations: 0 / 1.262 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04926/1.307, allocations: 28.55 MB / 1.29 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/9.078, allocations: 16.41 kB / 1.29 GB, free: 214.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_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_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches