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.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.001841/0.001841, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002347/0.002347, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.816/2.816, allocations: 476.8 MB / 0.7715 GB, free: 3.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="cs",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.001999/0.001999, allocations: 67.55 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.334, allocations: 170 MB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2229/0.5569, allocations: 168.3 MB / 1.448 GB, free: 1.672 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.568, allocations: 5.391 MB / 1.454 GB, free: 12.27 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.57, allocations: 55.56 kB / 1.454 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.5721, allocations: 0.5474 MB / 1.454 GB, free: 11.66 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006021/0.5781, allocations: 1.692 MB / 1.456 GB, free: 9.965 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00419/0.5823, allocations: 1.242 MB / 1.457 GB, free: 8.73 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004758/0.5871, allocations: 2.61 MB / 1.46 GB, free: 6.117 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.589, allocations: 0.7513 MB / 1.46 GB, free: 5.348 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.5922, allocations: 1.117 MB / 1.462 GB, free: 4.227 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00297/0.5951, allocations: 0.9199 MB / 1.462 GB, free: 3.309 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004847/0.5956, allocations: 108 kB / 1.463 GB, free: 3.203 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003613/0.5992, allocations: 1.309 MB / 1.464 GB, free: 1.891 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009923/0.6002, allocations: 0.5025 MB / 1.464 GB, free: 1.387 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.6017, allocations: 0.5485 MB / 1.465 GB, free: 0.8359 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004282/0.606, allocations: 2.149 MB / 1.467 GB, free: 14.68 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.606, allocations: 0 / 1.467 GB, free: 14.68 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.653e-06/0.606, allocations: 3.938 kB / 1.467 GB, free: 14.68 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.717e-05/0.6061, allocations: 0 / 1.467 GB, free: 14.68 MB / 1.17 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.003587/0.6097, allocations: 1.481 MB / 1.468 GB, free: 13.16 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6097, allocations: 8.031 kB / 1.468 GB, free: 13.15 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.267e-05/0.6097, allocations: 22 kB / 1.468 GB, free: 13.13 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002551/0.61, allocations: 143.3 kB / 1.469 GB, free: 12.98 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003372/0.6134, allocations: 482.7 kB / 1.469 GB, free: 12.51 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.6154, allocations: 0.7838 MB / 1.47 GB, free: 11.7 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/0.6155, allocations: 66 kB / 1.47 GB, free: 11.63 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.6156, allocations: 91.92 kB / 1.47 GB, free: 11.54 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.6184, allocations: 1.546 MB / 1.471 GB, free: 9.883 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.6184, allocations: 4 kB / 1.471 GB, free: 9.879 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.6185, allocations: 43.92 kB / 1.472 GB, free: 9.836 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.286e-05/0.6186, allocations: 45.86 kB / 1.472 GB, free: 9.789 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.6212, allocations: 1.066 MB / 1.473 GB, free: 8.723 MB / 1.17 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.007965/0.6291, allocations: 3.308 MB / 1.476 GB, free: 5.32 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.6313, allocations: 0.7153 MB / 1.477 GB, free: 4.598 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009745/0.6322, allocations: 384.6 kB / 1.477 GB, free: 4.219 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.6324, allocations: 24.7 kB / 1.477 GB, free: 4.195 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/0.6325, allocations: 42.5 kB / 1.477 GB, free: 4.145 MB / 1.17 GB Notification: Performance of pre-optimization done (n=43): time 2.965e-06/0.6325, allocations: 7.938 kB / 1.477 GB, free: 4.137 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.006459/0.6389, allocations: 2.125 MB / 1.479 GB, free: 1.98 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.639, allocations: 59.41 kB / 1.479 GB, free: 1.91 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.6403, allocations: 0.8647 MB / 1.48 GB, free: 1.039 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.589e-05/0.6404, allocations: 41.7 kB / 1.48 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004413/0.6408, allocations: 0.4924 MB / 1.48 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.641, allocations: 166.6 kB / 1.481 GB, free: 340 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.6413, allocations: 122.3 kB / 1.481 GB, free: 212 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.6414, allocations: 326 kB / 1.481 GB, free: 15.88 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000989/0.6424, allocations: 373 kB / 1.481 GB, free: 15.52 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.6436, allocations: 0.5476 MB / 1.482 GB, free: 14.9 MB / 1.186 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.006542/0.6501, allocations: 2.185 MB / 1.484 GB, free: 12.67 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.6501, allocations: 0 / 1.484 GB, free: 12.67 MB / 1.186 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00256/0.6527, allocations: 0.9888 MB / 1.485 GB, free: 11.67 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.6527, allocations: 8 kB / 1.485 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.6527, allocations: 4 kB / 1.485 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.6527, allocations: 11.94 kB / 1.485 GB, free: 11.65 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/0.6537, allocations: 191.8 kB / 1.485 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.6537, allocations: 7.938 kB / 1.485 GB, free: 11.45 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.6548, allocations: 67.94 kB / 1.485 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/0.6549, allocations: 27.98 kB / 1.485 GB, free: 11.36 MB / 1.186 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.0005682/0.6555, allocations: 313.5 kB / 1.486 GB, free: 11.04 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.6557, allocations: 99.39 kB / 1.486 GB, free: 10.95 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.656, allocations: 112.7 kB / 1.486 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.656, allocations: 4 kB / 1.486 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.656, allocations: 4 kB / 1.486 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002163/0.6582, allocations: 1.018 MB / 1.487 GB, free: 9.715 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005299/0.6635, allocations: 1.973 MB / 1.489 GB, free: 7.652 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.6635, allocations: 7.938 kB / 1.489 GB, free: 7.645 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009789/0.6645, allocations: 168.1 kB / 1.489 GB, free: 7.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.6645, allocations: 4 kB / 1.489 GB, free: 7.477 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.6646, allocations: 19.98 kB / 1.489 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.6646, allocations: 11.94 kB / 1.489 GB, free: 7.445 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.6646, allocations: 11.92 kB / 1.489 GB, free: 7.434 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/0.6682, allocations: 1.419 MB / 1.49 GB, free: 5.953 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007031/0.6689, allocations: 175.3 kB / 1.491 GB, free: 5.781 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/0.6692, allocations: 23.94 kB / 1.491 GB, free: 5.758 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.6704, allocations: 68.73 kB / 1.491 GB, free: 5.691 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.6705, allocations: 39.94 kB / 1.491 GB, free: 5.652 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.6706, allocations: 23.98 kB / 1.491 GB, free: 5.629 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001008/0.6716, allocations: 0.6044 MB / 1.491 GB, free: 5.031 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6716, allocations: 0 / 1.491 GB, free: 5.031 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001153/0.6727, allocations: 275.9 kB / 1.492 GB, free: 4.762 MB / 1.186 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.004049/0.6768, allocations: 2.058 MB / 1.494 GB, free: 2.637 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002289/0.6791, allocations: 0.7922 MB / 1.494 GB, free: 1.848 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.6791, allocations: 4 kB / 1.494 GB, free: 1.844 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009951/0.6801, allocations: 376.7 kB / 1.495 GB, free: 1.477 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/0.6833, allocations: 0.5803 MB / 1.495 GB, free: 0.9062 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/0.7005, allocations: 8.214 MB / 1.503 GB, free: 8.375 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007223/0.7013, allocations: 0.5086 MB / 1.504 GB, free: 7.836 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001061/0.7023, allocations: 263.8 kB / 1.504 GB, free: 7.574 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000645/0.703, allocations: 351.3 kB / 1.504 GB, free: 7.234 MB / 1.201 GB Notification: Performance of SimCode: time 9.02e-07/0.703, allocations: 7.938 kB / 1.504 GB, free: 7.227 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06759/0.7706, allocations: 31.47 MB / 1.535 GB, free: 8.539 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.42, allocations: 7.922 kB / 1.535 GB, free: 8.531 MB / 1.232 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.391988207004033]