Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_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.005983/0.005983, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001216/0.001216, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.735/2.735, allocations: 469.4 MB / 0.7421 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.29, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.7584/1.048, allocations: 190.5 MB / 1.406 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.00892/1.057, allocations: 5.719 MB / 1.411 GB, free: 11.85 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/1.059, allocations: 37.53 kB / 1.411 GB, free: 11.84 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/1.06, allocations: 0.5962 MB / 1.412 GB, free: 11.35 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004059/1.064, allocations: 1.67 MB / 1.414 GB, free: 10.06 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003426/1.068, allocations: 1.226 MB / 1.415 GB, free: 9.141 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003587/1.071, allocations: 2.557 MB / 1.417 GB, free: 7.688 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/1.073, allocations: 1.046 MB / 1.418 GB, free: 7.062 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/1.075, allocations: 1.085 MB / 1.419 GB, free: 6.41 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/1.077, allocations: 0.8566 MB / 1.42 GB, free: 5.906 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002565/1.077, allocations: 106.5 kB / 1.42 GB, free: 5.906 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/1.08, allocations: 1.566 MB / 1.422 GB, free: 5.059 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007027/1.081, allocations: 0.4912 MB / 1.422 GB, free: 4.73 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/1.082, allocations: 0.6386 MB / 1.423 GB, free: 4.32 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003731/1.086, allocations: 2.185 MB / 1.425 GB, free: 2.918 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.086, allocations: 0 / 1.425 GB, free: 2.918 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.242e-06/1.086, allocations: 4 kB / 1.425 GB, free: 2.914 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.055e-05/1.086, allocations: 0 / 1.425 GB, free: 2.914 MB / 1.107 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.002929/1.089, allocations: 1.551 MB / 1.427 GB, free: 1.73 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/1.089, allocations: 10.41 kB / 1.427 GB, free: 1.73 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000202/1.089, allocations: 140 kB / 1.427 GB, free: 1.617 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/1.092, allocations: 477.2 kB / 1.427 GB, free: 1.41 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/1.094, allocations: 0.8624 MB / 1.428 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/1.094, allocations: 70 kB / 1.428 GB, free: 0.6367 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/1.094, allocations: 87.98 kB / 1.428 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/1.097, allocations: 1.175 MB / 1.429 GB, free: 15.35 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/1.097, allocations: 0 / 1.429 GB, free: 15.35 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/1.097, allocations: 36 kB / 1.429 GB, free: 15.32 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/1.097, allocations: 37.98 kB / 1.429 GB, free: 15.28 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/1.099, allocations: 1.066 MB / 1.43 GB, free: 14.21 MB / 1.123 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.007107/1.106, allocations: 4.325 MB / 1.435 GB, free: 9.629 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/1.108, allocations: 0.7443 MB / 1.435 GB, free: 8.875 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009819/1.109, allocations: 408.8 kB / 1.436 GB, free: 8.477 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/1.11, allocations: 105.1 kB / 1.436 GB, free: 8.355 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/1.11, allocations: 45.19 kB / 1.436 GB, free: 8.305 MB / 1.123 GB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/1.11, allocations: 0 / 1.436 GB, free: 8.305 MB / 1.123 GB Notification: Performance of matching and sorting (n=45): time 0.006036/1.116, allocations: 2.189 MB / 1.438 GB, free: 6.066 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.116, allocations: 59.34 kB / 1.438 GB, free: 5.996 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/1.117, allocations: 0.8647 MB / 1.439 GB, free: 5.121 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/1.117, allocations: 37.7 kB / 1.439 GB, free: 5.078 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/1.117, allocations: 0.4923 MB / 1.44 GB, free: 4.578 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/1.117, allocations: 166.6 kB / 1.44 GB, free: 4.414 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/1.118, allocations: 130.2 kB / 1.44 GB, free: 4.281 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.118, allocations: 326 kB / 1.44 GB, free: 3.957 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/1.119, allocations: 377 kB / 1.44 GB, free: 3.586 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/1.12, allocations: 0.4897 MB / 1.441 GB, free: 3.047 MB / 1.123 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.006332/1.126, allocations: 2.271 MB / 1.443 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.126, allocations: 3.938 kB / 1.443 GB, free: 0.707 MB / 1.123 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002442/1.129, allocations: 0.9903 MB / 1.444 GB, free: 15.71 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.129, allocations: 4 kB / 1.444 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.129, allocations: 4 kB / 1.444 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.129, allocations: 8 kB / 1.444 GB, free: 15.69 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/1.13, allocations: 199.8 kB / 1.444 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/1.13, allocations: 4 kB / 1.444 GB, free: 15.49 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/1.131, allocations: 71.88 kB / 1.444 GB, free: 15.42 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/1.131, allocations: 24 kB / 1.444 GB, free: 15.4 MB / 1.139 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.0005401/1.132, allocations: 321.5 kB / 1.445 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/1.132, allocations: 95.44 kB / 1.445 GB, free: 14.98 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/1.132, allocations: 104.8 kB / 1.445 GB, free: 14.88 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/1.132, allocations: 7.938 kB / 1.445 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.132, allocations: 0 / 1.445 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002109/1.134, allocations: 1.026 MB / 1.446 GB, free: 13.75 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005041/1.139, allocations: 2.141 MB / 1.448 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/1.139, allocations: 4 kB / 1.448 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009128/1.14, allocations: 168.2 kB / 1.448 GB, free: 11.35 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/1.14, allocations: 4 kB / 1.448 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/1.14, allocations: 16 kB / 1.448 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/1.14, allocations: 8.438 kB / 1.448 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.141, allocations: 13.41 kB / 1.448 GB, free: 11.31 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/1.144, allocations: 1.411 MB / 1.45 GB, free: 9.84 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/1.144, allocations: 260.4 kB / 1.45 GB, free: 9.566 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/1.144, allocations: 15.94 kB / 1.45 GB, free: 9.551 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.145, allocations: 72.48 kB / 1.45 GB, free: 9.48 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/1.146, allocations: 39.83 kB / 1.45 GB, free: 9.441 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/1.146, allocations: 35.98 kB / 1.45 GB, free: 9.406 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007921/1.146, allocations: 0.6005 MB / 1.451 GB, free: 8.809 MB / 1.139 GB Notification: Performance of sort global known variables: time 2e-07/1.146, allocations: 0 / 1.451 GB, free: 8.809 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008991/1.147, allocations: 267.9 kB / 1.451 GB, free: 8.547 MB / 1.139 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.003796/1.151, allocations: 2.09 MB / 1.453 GB, free: 6.398 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002142/1.153, allocations: 0.8077 MB / 1.454 GB, free: 5.586 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.153, allocations: 8.062 kB / 1.454 GB, free: 5.578 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009822/1.154, allocations: 388.6 kB / 1.454 GB, free: 5.199 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/1.157, allocations: 0.5728 MB / 1.455 GB, free: 4.641 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/1.172, allocations: 8.212 MB / 1.463 GB, free: 12.12 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006924/1.172, allocations: 1.106 MB / 1.464 GB, free: 10.98 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009245/1.173, allocations: 263.8 kB / 1.464 GB, free: 10.72 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005551/1.174, allocations: 355.2 kB / 1.464 GB, free: 10.38 MB / 1.154 GB Notification: Performance of SimCode: time 9.02e-07/1.174, allocations: 0 / 1.464 GB, free: 10.38 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0527/1.227, allocations: 28.71 MB / 1.492 GB, free: 14.13 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.309/10.54, allocations: 12.83 kB / 1.492 GB, free: 14.12 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches