Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_11_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.006992/0.006993, allocations: 97.23 kB / 15.73 MB, free: 6.484 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.001859/0.00186, allocations: 192 kB / 16.67 MB, free: 6.391 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 63.91 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3038, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.8267/1.131, allocations: 190.5 MB / 1.406 GB, free: 36 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01049/1.141, allocations: 5.718 MB / 1.412 GB, free: 11.38 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/1.143, allocations: 41.16 kB / 1.412 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/1.144, allocations: 0.5665 MB / 1.412 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004591/1.149, allocations: 1.609 MB / 1.414 GB, free: 9.637 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00351/1.153, allocations: 1.215 MB / 1.415 GB, free: 8.73 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004025/1.157, allocations: 2.562 MB / 1.418 GB, free: 7.27 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/1.158, allocations: 1.036 MB / 1.419 GB, free: 6.652 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002301/1.161, allocations: 1.05 MB / 1.42 GB, free: 6.023 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/1.163, allocations: 0.8518 MB / 1.421 GB, free: 5.523 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003142/1.163, allocations: 109.8 kB / 1.421 GB, free: 5.523 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003509/1.167, allocations: 1.55 MB / 1.422 GB, free: 4.688 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007852/1.168, allocations: 0.4996 MB / 1.423 GB, free: 4.352 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001309/1.169, allocations: 0.6389 MB / 1.423 GB, free: 3.941 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003996/1.173, allocations: 2.19 MB / 1.425 GB, free: 2.535 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.173, allocations: 0 / 1.425 GB, free: 2.535 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.754e-06/1.173, allocations: 0 / 1.425 GB, free: 2.535 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.186e-05/1.173, allocations: 0 / 1.425 GB, free: 2.535 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.002721/1.176, allocations: 1.549 MB / 1.427 GB, free: 1.355 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.176, allocations: 14.28 kB / 1.427 GB, free: 1.352 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/1.176, allocations: 135.5 kB / 1.427 GB, free: 1.242 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/1.179, allocations: 483.6 kB / 1.427 GB, free: 1.027 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/1.181, allocations: 0.8644 MB / 1.428 GB, free: 296 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.85e-05/1.181, allocations: 66 kB / 1.428 GB, free: 232 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/1.181, allocations: 80 kB / 1.428 GB, free: 152 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/1.183, allocations: 1.183 MB / 1.43 GB, free: 14.94 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/1.183, allocations: 4.688 kB / 1.43 GB, free: 14.94 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/1.184, allocations: 36 kB / 1.43 GB, free: 14.9 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-05/1.184, allocations: 34 kB / 1.43 GB, free: 14.87 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/1.186, allocations: 1.066 MB / 1.431 GB, free: 13.8 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.007534/1.194, allocations: 4.329 MB / 1.435 GB, free: 9.211 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/1.196, allocations: 0.7393 MB / 1.436 GB, free: 8.465 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/1.197, allocations: 412.4 kB / 1.436 GB, free: 8.059 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/1.197, allocations: 101.1 kB / 1.436 GB, free: 7.941 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/1.197, allocations: 45 kB / 1.436 GB, free: 7.891 MB / 1.123 GB Notification: Performance of pre-optimization done (n=43): time 2.395e-06/1.197, allocations: 0 / 1.436 GB, free: 7.891 MB / 1.123 GB Notification: Performance of matching and sorting (n=45): time 0.006411/1.204, allocations: 2.188 MB / 1.438 GB, free: 5.652 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/1.204, allocations: 59.34 kB / 1.438 GB, free: 5.582 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/1.205, allocations: 0.8686 MB / 1.439 GB, free: 4.707 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/1.205, allocations: 37.7 kB / 1.439 GB, free: 4.664 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004336/1.206, allocations: 0.4924 MB / 1.44 GB, free: 4.164 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/1.206, allocations: 166.6 kB / 1.44 GB, free: 4 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/1.206, allocations: 126.2 kB / 1.44 GB, free: 3.871 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.206, allocations: 334 kB / 1.44 GB, free: 3.539 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/1.207, allocations: 365 kB / 1.441 GB, free: 3.18 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/1.208, allocations: 0.5014 MB / 1.441 GB, free: 2.629 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.0067/1.215, allocations: 2.262 MB / 1.443 GB, free: 308 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.215, allocations: 4 kB / 1.443 GB, free: 304 kB / 1.123 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002583/1.218, allocations: 0.9902 MB / 1.444 GB, free: 15.3 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.218, allocations: 8 kB / 1.444 GB, free: 15.29 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.218, allocations: 4 kB / 1.444 GB, free: 15.29 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/1.218, allocations: 12.12 kB / 1.444 GB, free: 15.27 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009881/1.219, allocations: 187.7 kB / 1.445 GB, free: 15.09 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/1.219, allocations: 17.42 kB / 1.445 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/1.22, allocations: 63.89 kB / 1.445 GB, free: 15.01 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/1.22, allocations: 31.98 kB / 1.445 GB, free: 14.98 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.0005352/1.22, allocations: 313.5 kB / 1.445 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/1.221, allocations: 95.44 kB / 1.445 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/1.221, allocations: 100.8 kB / 1.445 GB, free: 14.47 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/1.221, allocations: 7.938 kB / 1.445 GB, free: 14.46 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.221, allocations: 7.938 kB / 1.445 GB, free: 14.45 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002213/1.223, allocations: 1.027 MB / 1.446 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005456/1.229, allocations: 2.141 MB / 1.448 GB, free: 11.1 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/1.229, allocations: 8.062 kB / 1.448 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009465/1.23, allocations: 159.8 kB / 1.448 GB, free: 10.94 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.54e-05/1.23, allocations: 8 kB / 1.448 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.577e-05/1.23, allocations: 19.98 kB / 1.448 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.421e-05/1.23, allocations: 8.5 kB / 1.448 GB, free: 10.9 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/1.23, allocations: 7.938 kB / 1.449 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003754/1.233, allocations: 1.411 MB / 1.45 GB, free: 9.422 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/1.234, allocations: 260.4 kB / 1.45 GB, free: 9.148 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/1.234, allocations: 12.56 kB / 1.45 GB, free: 9.137 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000946/1.235, allocations: 73.45 kB / 1.45 GB, free: 9.066 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/1.235, allocations: 43.92 kB / 1.45 GB, free: 9.023 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.672e-05/1.235, allocations: 31.97 kB / 1.45 GB, free: 8.992 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008923/1.236, allocations: 0.6005 MB / 1.451 GB, free: 8.395 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.51e-07/1.236, allocations: 0 / 1.451 GB, free: 8.395 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009612/1.237, allocations: 271.9 kB / 1.451 GB, free: 8.129 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.004468/1.242, allocations: 2.084 MB / 1.453 GB, free: 5.984 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002331/1.244, allocations: 0.8036 MB / 1.454 GB, free: 5.18 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.244, allocations: 4 kB / 1.454 GB, free: 5.176 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/1.245, allocations: 392.6 kB / 1.454 GB, free: 4.793 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/1.248, allocations: 0.5769 MB / 1.455 GB, free: 4.234 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/1.265, allocations: 8.212 MB / 1.463 GB, free: 11.7 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/1.266, allocations: 1.106 MB / 1.464 GB, free: 10.57 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001073/1.267, allocations: 267.8 kB / 1.464 GB, free: 10.3 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006522/1.268, allocations: 351.3 kB / 1.465 GB, free: 9.965 MB / 1.154 GB Notification: Performance of SimCode: time 1.002e-06/1.268, allocations: 0 / 1.465 GB, free: 9.965 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06582/1.333, allocations: 28.72 MB / 1.493 GB, free: 13.74 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.852/11.18, allocations: 4.656 kB / 1.493 GB, free: 13.74 MB / 1.186 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches