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.00166/0.00166, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.001993/0.001993, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.45/1.45, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.816/2.816, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [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.002039/0.002039, allocations: 73.92 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2455/1.273, allocations: 194.1 MB / 1.512 GB, free: 7.105 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01008/1.283, allocations: 5.742 MB / 1.517 GB, free: 1.348 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/1.285, allocations: 59.5 kB / 1.517 GB, free: 1.289 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/1.287, allocations: 0.602 MB / 1.518 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004345/1.291, allocations: 1.672 MB / 1.519 GB, free: 15 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003315/1.294, allocations: 1.232 MB / 1.521 GB, free: 13.79 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003885/1.298, allocations: 2.538 MB / 1.523 GB, free: 11.24 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/1.3, allocations: 0.8717 MB / 1.524 GB, free: 10.35 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/1.302, allocations: 1.265 MB / 1.525 GB, free: 9.082 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/1.304, allocations: 0.9013 MB / 1.526 GB, free: 8.184 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/1.304, allocations: 108 kB / 1.526 GB, free: 8.078 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/1.307, allocations: 1.617 MB / 1.528 GB, free: 6.457 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000598/1.308, allocations: 0.5025 MB / 1.528 GB, free: 5.953 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008404/1.309, allocations: 0.6455 MB / 1.529 GB, free: 5.305 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003993/1.313, allocations: 2.188 MB / 1.531 GB, free: 3.109 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.313, allocations: 4 kB / 1.531 GB, free: 3.105 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.473e-06/1.313, allocations: 0 / 1.531 GB, free: 3.105 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.685e-05/1.313, allocations: 0 / 1.531 GB, free: 3.105 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.002719/1.316, allocations: 1.558 MB / 1.533 GB, free: 1.492 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.316, allocations: 19.97 kB / 1.533 GB, free: 1.473 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/1.319, allocations: 478.8 kB / 1.533 GB, free: 1.004 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/1.321, allocations: 0.856 MB / 1.534 GB, free: 108 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/1.321, allocations: 66 kB / 1.534 GB, free: 44 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/1.321, allocations: 84.05 kB / 1.534 GB, free: 15.96 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/1.323, allocations: 1.182 MB / 1.535 GB, free: 14.75 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/1.323, allocations: 0 / 1.535 GB, free: 14.75 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.323, allocations: 40 kB / 1.535 GB, free: 14.71 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/1.323, allocations: 30 kB / 1.535 GB, free: 14.69 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/1.326, allocations: 1.07 MB / 1.536 GB, free: 13.61 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.007689/1.333, allocations: 4.479 MB / 1.541 GB, free: 8.84 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/1.335, allocations: 0.7266 MB / 1.541 GB, free: 8.105 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/1.336, allocations: 384.4 kB / 1.542 GB, free: 7.727 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/1.337, allocations: 105.1 kB / 1.542 GB, free: 7.605 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/1.337, allocations: 47.28 kB / 1.542 GB, free: 7.551 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.936e-06/1.337, allocations: 0 / 1.542 GB, free: 7.551 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.006161/1.343, allocations: 2.192 MB / 1.544 GB, free: 5.305 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/1.343, allocations: 59.34 kB / 1.544 GB, free: 5.234 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.344, allocations: 0.8647 MB / 1.545 GB, free: 4.363 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.788e-05/1.344, allocations: 37.7 kB / 1.545 GB, free: 4.32 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/1.345, allocations: 0.4962 MB / 1.545 GB, free: 3.816 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/1.345, allocations: 170.6 kB / 1.546 GB, free: 3.648 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/1.345, allocations: 126.2 kB / 1.546 GB, free: 3.52 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.345, allocations: 326 kB / 1.546 GB, free: 3.195 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/1.346, allocations: 369 kB / 1.546 GB, free: 2.832 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/1.347, allocations: 0.5014 MB / 1.547 GB, free: 2.281 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.006631/1.354, allocations: 2.262 MB / 1.549 GB, free: 15.95 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.354, allocations: 0 / 1.549 GB, free: 15.95 MB / 1.232 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002567/1.357, allocations: 0.9864 MB / 1.55 GB, free: 14.96 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.357, allocations: 12.11 kB / 1.55 GB, free: 14.95 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.357, allocations: 8 kB / 1.55 GB, free: 14.94 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/1.357, allocations: 7.938 kB / 1.55 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009654/1.358, allocations: 191.7 kB / 1.55 GB, free: 14.74 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/1.358, allocations: 15.92 kB / 1.55 GB, free: 14.73 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/1.359, allocations: 63.94 kB / 1.55 GB, free: 14.66 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/1.359, allocations: 24 kB / 1.55 GB, free: 14.64 MB / 1.232 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.0005413/1.359, allocations: 317.5 kB / 1.551 GB, free: 14.32 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/1.359, allocations: 99.39 kB / 1.551 GB, free: 14.22 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/1.36, allocations: 104.7 kB / 1.551 GB, free: 14.12 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/1.36, allocations: 11.94 kB / 1.551 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.36, allocations: 0 / 1.551 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002147/1.362, allocations: 1.022 MB / 1.552 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004882/1.367, allocations: 2.137 MB / 1.554 GB, free: 10.77 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/1.367, allocations: 4 kB / 1.554 GB, free: 10.76 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009256/1.368, allocations: 159.9 kB / 1.554 GB, free: 10.61 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/1.368, allocations: 4 kB / 1.554 GB, free: 10.6 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/1.368, allocations: 19.98 kB / 1.554 GB, free: 10.58 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/1.368, allocations: 11.94 kB / 1.554 GB, free: 10.57 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.368, allocations: 7.938 kB / 1.554 GB, free: 10.56 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/1.371, allocations: 1.407 MB / 1.556 GB, free: 9.098 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005049/1.372, allocations: 256.5 kB / 1.556 GB, free: 8.828 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/1.372, allocations: 19.98 kB / 1.556 GB, free: 8.809 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009434/1.373, allocations: 72.55 kB / 1.556 GB, free: 8.738 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.373, allocations: 43.83 kB / 1.556 GB, free: 8.695 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.838e-05/1.373, allocations: 31.97 kB / 1.556 GB, free: 8.664 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008417/1.374, allocations: 0.6005 MB / 1.557 GB, free: 8.066 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.374, allocations: 0 / 1.557 GB, free: 8.066 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009026/1.375, allocations: 275.9 kB / 1.557 GB, free: 7.797 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.0004157/1.375, allocations: 205.5 kB / 1.557 GB, free: 7.586 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002288/1.377, allocations: 0.7923 MB / 1.558 GB, free: 6.797 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.377, allocations: 0 / 1.558 GB, free: 6.797 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/1.378, allocations: 384.3 kB / 1.558 GB, free: 6.422 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/1.381, allocations: 0.5745 MB / 1.559 GB, free: 5.855 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/1.386, allocations: 2.268 MB / 1.561 GB, free: 3.504 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008124/1.387, allocations: 1.11 MB / 1.562 GB, free: 2.367 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/1.388, allocations: 79.42 kB / 1.562 GB, free: 2.289 MB / 1.232 GB Notification: Performance of SimCode: time 1.633e-06/1.388, allocations: 3.938 kB / 1.562 GB, free: 2.285 MB / 1.232 GB Notification: Performance of Templates: time 0.02719/1.415, allocations: 17.08 MB / 1.579 GB, free: 1.359 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] 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] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1] [Calling sys.exit(0), Time elapsed: 14.969554112001788]