Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 217.5 kB / 22.25 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.352/1.352, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.928/2.928, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 61.62 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3058, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2053/0.5112, allocations: 168.5 MB / 1.49 GB, free: 8.422 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009586/0.5207, allocations: 5.434 MB / 1.496 GB, free: 2.98 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.522, allocations: 51.56 kB / 1.496 GB, free: 2.93 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.5234, allocations: 0.5435 MB / 1.496 GB, free: 2.383 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.5276, allocations: 1.692 MB / 1.498 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003223/0.5308, allocations: 1.236 MB / 1.499 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003766/0.5346, allocations: 2.614 MB / 1.502 GB, free: 12.83 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.536, allocations: 0.7552 MB / 1.502 GB, free: 12.06 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.5386, allocations: 1.285 MB / 1.504 GB, free: 10.77 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.5409, allocations: 0.9045 MB / 1.505 GB, free: 9.867 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.5411, allocations: 111.9 kB / 1.505 GB, free: 9.758 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.5438, allocations: 1.305 MB / 1.506 GB, free: 8.449 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005732/0.5444, allocations: 0.5064 MB / 1.506 GB, free: 7.941 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000736/0.5452, allocations: 0.5368 MB / 1.507 GB, free: 7.402 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003669/0.5488, allocations: 2.149 MB / 1.509 GB, free: 5.246 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5488, allocations: 0 / 1.509 GB, free: 5.246 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5488, allocations: 0 / 1.509 GB, free: 5.246 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.418e-05/0.5489, allocations: 0 / 1.509 GB, free: 5.246 MB / 1.201 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.00276/0.5516, allocations: 1.477 MB / 1.511 GB, free: 3.73 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5517, allocations: 12.03 kB / 1.511 GB, free: 3.719 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001813/0.5518, allocations: 139.2 kB / 1.511 GB, free: 3.574 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003094/0.5549, allocations: 482.8 kB / 1.511 GB, free: 3.102 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.5569, allocations: 0.7838 MB / 1.512 GB, free: 2.289 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.5569, allocations: 66 kB / 1.512 GB, free: 2.227 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.5571, allocations: 87.94 kB / 1.512 GB, free: 2.141 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/0.5599, allocations: 1.555 MB / 1.514 GB, free: 480 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.5599, allocations: 4 kB / 1.514 GB, free: 476 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.56, allocations: 39.98 kB / 1.514 GB, free: 436 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-05/0.56, allocations: 34 kB / 1.514 GB, free: 404 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/0.5624, allocations: 1.062 MB / 1.515 GB, free: 15.33 MB / 1.217 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.007397/0.5698, allocations: 3.308 MB / 1.518 GB, free: 11.93 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.5718, allocations: 0.7225 MB / 1.519 GB, free: 11.2 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/0.5727, allocations: 395.2 kB / 1.519 GB, free: 10.81 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.5728, allocations: 19.98 kB / 1.519 GB, free: 10.79 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.5729, allocations: 42.56 kB / 1.519 GB, free: 10.74 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.5729, allocations: 4 kB / 1.519 GB, free: 10.74 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.005856/0.5787, allocations: 2.12 MB / 1.521 GB, free: 8.582 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.5788, allocations: 63.41 kB / 1.521 GB, free: 8.508 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.5799, allocations: 0.8685 MB / 1.522 GB, free: 7.633 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.58, allocations: 37.7 kB / 1.522 GB, free: 7.59 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.5805, allocations: 0.4963 MB / 1.523 GB, free: 7.086 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.5806, allocations: 170.5 kB / 1.523 GB, free: 6.918 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.5809, allocations: 126.2 kB / 1.523 GB, free: 6.789 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.581, allocations: 326 kB / 1.523 GB, free: 6.465 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009418/0.582, allocations: 373 kB / 1.523 GB, free: 6.102 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.583, allocations: 0.5476 MB / 1.524 GB, free: 5.488 MB / 1.217 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.006154/0.5892, allocations: 2.184 MB / 1.526 GB, free: 3.25 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.5892, allocations: 4 kB / 1.526 GB, free: 3.246 MB / 1.217 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002354/0.5916, allocations: 0.9888 MB / 1.527 GB, free: 2.254 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.5916, allocations: 4 kB / 1.527 GB, free: 2.25 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5916, allocations: 4 kB / 1.527 GB, free: 2.246 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.5916, allocations: 19.86 kB / 1.527 GB, free: 2.227 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009634/0.5926, allocations: 187.9 kB / 1.527 GB, free: 2.043 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.5926, allocations: 7.938 kB / 1.527 GB, free: 2.035 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.5936, allocations: 71.92 kB / 1.527 GB, free: 1.965 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.5937, allocations: 24 kB / 1.527 GB, free: 1.941 MB / 1.217 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.0005138/0.5942, allocations: 313.5 kB / 1.528 GB, free: 1.625 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.5944, allocations: 99.39 kB / 1.528 GB, free: 1.527 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.5946, allocations: 112.7 kB / 1.528 GB, free: 1.418 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5946, allocations: 11.94 kB / 1.528 GB, free: 1.406 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5946, allocations: 0 / 1.528 GB, free: 1.406 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001984/0.5966, allocations: 1.018 MB / 1.529 GB, free: 308 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004583/0.6012, allocations: 1.976 MB / 1.531 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.6012, allocations: 0 / 1.531 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008569/0.602, allocations: 168.2 kB / 1.531 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.602, allocations: 4 kB / 1.531 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.6021, allocations: 20 kB / 1.531 GB, free: 14.05 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.6021, allocations: 11.94 kB / 1.531 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6021, allocations: 3.938 kB / 1.531 GB, free: 14.03 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/0.6051, allocations: 1.419 MB / 1.532 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.6056, allocations: 179.4 kB / 1.533 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6058, allocations: 20 kB / 1.533 GB, free: 12.36 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009015/0.6067, allocations: 70.28 kB / 1.533 GB, free: 12.29 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.6068, allocations: 43.83 kB / 1.533 GB, free: 12.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.05e-05/0.6069, allocations: 31.97 kB / 1.533 GB, free: 12.21 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007991/0.6077, allocations: 0.6005 MB / 1.533 GB, free: 11.62 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.6077, allocations: 0 / 1.533 GB, free: 11.62 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000847/0.6085, allocations: 267.9 kB / 1.534 GB, free: 11.36 MB / 1.232 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.003711/0.6122, allocations: 2.065 MB / 1.536 GB, free: 9.223 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.6143, allocations: 0.7881 MB / 1.536 GB, free: 8.43 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.6143, allocations: 0 / 1.536 GB, free: 8.43 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009418/0.6152, allocations: 389.1 kB / 1.537 GB, free: 8.051 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.6178, allocations: 0.5763 MB / 1.537 GB, free: 7.488 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.6327, allocations: 8.21 MB / 1.545 GB, free: 14.97 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.6333, allocations: 0.5124 MB / 1.546 GB, free: 14.43 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009093/0.6342, allocations: 263.8 kB / 1.546 GB, free: 14.16 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005819/0.6348, allocations: 351.3 kB / 1.546 GB, free: 13.82 MB / 1.248 GB Notification: Performance of SimCode: time 7.61e-07/0.6348, allocations: 4 kB / 1.546 GB, free: 13.82 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06916/0.7039, allocations: 32.07 MB / 1.578 GB, free: 14.44 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.82, allocations: 12.06 kB / 1.578 GB, free: 14.43 MB / 1.279 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.920651149994228]