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.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.0008847/0.0008847, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0008728/0.0008728, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 18.57 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 0.9868/0.9868, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.445/2.445, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.722e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1455/0.1455, allocations: 148.2 MB / 1.035 GB, free: 4.934 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007066/0.1526, allocations: 3.821 MB / 1.038 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.1541, allocations: 55.56 kB / 1.038 GB, free: 1.055 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.1553, allocations: 281.9 kB / 1.039 GB, free: 0.7773 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.1581, allocations: 1.072 MB / 1.04 GB, free: 15.7 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.1609, allocations: 0.9819 MB / 1.041 GB, free: 14.71 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003535/0.1644, allocations: 2.561 MB / 1.043 GB, free: 12.14 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.1658, allocations: 0.7748 MB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00357/0.1694, allocations: 1.416 MB / 1.045 GB, free: 9.961 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.171, allocations: 0.7829 MB / 1.046 GB, free: 9.176 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003557/0.1714, allocations: 108 kB / 1.046 GB, free: 9.07 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.173, allocations: 0.6548 MB / 1.047 GB, free: 8.414 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006504/0.1736, allocations: 0.5415 MB / 1.047 GB, free: 7.871 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.1749, allocations: 459 kB / 1.048 GB, free: 7.422 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.1775, allocations: 1.398 MB / 1.049 GB, free: 6.02 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.1775, allocations: 7.984 kB / 1.049 GB, free: 6.012 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1775, allocations: 0 / 1.049 GB, free: 6.012 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.357e-05/0.1775, allocations: 0 / 1.049 GB, free: 6.012 MB / 1.01 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.002055/0.1796, allocations: 1.518 MB / 1.051 GB, free: 4.453 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.1796, allocations: 12.62 kB / 1.051 GB, free: 4.441 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.1812, allocations: 0.4915 MB / 1.051 GB, free: 3.949 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.1823, allocations: 0.7423 MB / 1.052 GB, free: 3.176 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.1823, allocations: 66.12 kB / 1.052 GB, free: 3.113 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.1824, allocations: 95.95 kB / 1.052 GB, free: 3.02 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.1836, allocations: 1.074 MB / 1.053 GB, free: 1.82 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.1837, allocations: 3.984 kB / 1.053 GB, free: 1.816 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/0.1837, allocations: 39.94 kB / 1.053 GB, free: 1.777 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/0.1838, allocations: 34 kB / 1.053 GB, free: 1.746 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.1843, allocations: 321.6 kB / 1.053 GB, free: 1.43 MB / 1.01 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.5293/0.7135, allocations: 2.927 MB / 1.056 GB, free: 68.54 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.7141, allocations: 297.3 kB / 1.056 GB, free: 68.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.7143, allocations: 116 kB / 1.057 GB, free: 68.49 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.7144, allocations: 37.62 kB / 1.057 GB, free: 68.49 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.7144, allocations: 47.47 kB / 1.057 GB, free: 68.45 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 3.637e-06/0.7144, allocations: 0 / 1.057 GB, free: 68.45 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.001782/0.7162, allocations: 0.8055 MB / 1.057 GB, free: 68.28 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.7163, allocations: 57.95 kB / 1.058 GB, free: 68.21 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.7167, allocations: 0.6293 MB / 1.058 GB, free: 68.04 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.7168, allocations: 38.8 kB / 1.058 GB, free: 68 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.717, allocations: 0.5561 MB / 1.059 GB, free: 67.76 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.7172, allocations: 173.6 kB / 1.059 GB, free: 67.68 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.7173, allocations: 131.2 kB / 1.059 GB, free: 67.65 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.7175, allocations: 0.5679 MB / 1.06 GB, free: 67.15 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.7176, allocations: 79.84 kB / 1.06 GB, free: 67.15 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.7178, allocations: 314 kB / 1.06 GB, free: 66.89 MB / 1.01 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.0006619/0.7185, allocations: 0.5532 MB / 1.06 GB, free: 66.67 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7185, allocations: 0 / 1.06 GB, free: 66.67 MB / 1.01 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005749/0.719, allocations: 449.8 kB / 1.061 GB, free: 66.59 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.7191, allocations: 8.844 kB / 1.061 GB, free: 66.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.7191, allocations: 6.109 kB / 1.061 GB, free: 66.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.7191, allocations: 8.656 kB / 1.061 GB, free: 66.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.7195, allocations: 154 kB / 1.061 GB, free: 66.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.7195, allocations: 12.84 kB / 1.061 GB, free: 66.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/0.72, allocations: 47.55 kB / 1.061 GB, free: 66.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.72, allocations: 25.28 kB / 1.061 GB, free: 66.59 MB / 1.01 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.0003268/0.7203, allocations: 194.7 kB / 1.061 GB, free: 66.42 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.7205, allocations: 94.03 kB / 1.061 GB, free: 66.38 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.7206, allocations: 84.5 kB / 1.062 GB, free: 66.37 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7206, allocations: 2.594 kB / 1.062 GB, free: 66.37 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.7206, allocations: 5.812 kB / 1.062 GB, free: 66.37 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003803/0.721, allocations: 0.5445 MB / 1.062 GB, free: 65.93 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.7228, allocations: 1.198 MB / 1.063 GB, free: 65.49 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.7228, allocations: 10.22 kB / 1.063 GB, free: 65.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.7231, allocations: 128.8 kB / 1.063 GB, free: 65.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.7231, allocations: 7.484 kB / 1.063 GB, free: 65.48 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.7232, allocations: 19.5 kB / 1.063 GB, free: 65.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.7232, allocations: 9 kB / 1.063 GB, free: 65.48 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7232, allocations: 3.969 kB / 1.063 GB, free: 65.48 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.724, allocations: 0.6698 MB / 1.064 GB, free: 65.09 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.7243, allocations: 145.5 kB / 1.064 GB, free: 65.05 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.7243, allocations: 17.16 kB / 1.064 GB, free: 65.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.7247, allocations: 41.52 kB / 1.064 GB, free: 65.05 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.7248, allocations: 42.69 kB / 1.064 GB, free: 65.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/0.7248, allocations: 28.02 kB / 1.064 GB, free: 65.04 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003019/0.7251, allocations: 387.9 kB / 1.065 GB, free: 64.91 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7251, allocations: 1.688 kB / 1.065 GB, free: 64.91 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009075/0.726, allocations: 263.5 kB / 1.065 GB, free: 64.91 MB / 1.01 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.000374/0.7264, allocations: 170.9 kB / 1.065 GB, free: 64.82 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005492/0.7269, allocations: 297.1 kB / 1.065 GB, free: 64.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.7269, allocations: 3.594 kB / 1.065 GB, free: 64.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.7271, allocations: 145.4 kB / 1.066 GB, free: 64.79 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.7284, allocations: 476.2 kB / 1.066 GB, free: 64.77 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.7315, allocations: 1.796 MB / 1.068 GB, free: 63.92 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.7317, allocations: 248 kB / 1.068 GB, free: 63.84 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006093/0.7323, allocations: 139.4 kB / 1.068 GB, free: 63.84 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008193/0.7331, allocations: 453.7 kB / 1.069 GB, free: 63.77 MB / 1.01 GB Notification: Performance of SimCode: time 2.184e-06/0.7331, allocations: 0.8125 kB / 1.069 GB, free: 63.77 MB / 1.01 GB Notification: Performance of Templates: time 0.02928/0.7624, allocations: 19.55 MB / 1.088 GB, free: 62.16 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.722950720228255]