Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.001412/0.001412, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001665/0.001665, allocations: 161 kB / 23.82 MB, free: 0.75 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.9228/0.9228, allocations: 177.2 MB / 204.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.865/1.865, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.921e-05, allocations: 4.844 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1636/0.1636, allocations: 151.2 MB / 0.9592 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006289/0.1699, allocations: 3.876 MB / 0.963 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008082/0.1707, allocations: 55.56 kB / 0.963 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008043/0.1715, allocations: 289.8 kB / 0.9633 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.1736, allocations: 1.08 MB / 0.9644 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.1753, allocations: 0.9897 MB / 0.9653 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.1775, allocations: 2.592 MB / 0.9679 GB, free: 1.129 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007766/0.1782, allocations: 0.715 MB / 0.9686 GB, free: 412 kB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.1801, allocations: 1.414 MB / 0.97 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008711/0.181, allocations: 0.7361 MB / 0.9707 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.1811, allocations: 99.98 kB / 0.9708 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008558/0.1819, allocations: 0.6392 MB / 0.9714 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.1822, allocations: 442.8 kB / 0.9718 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003448/0.1826, allocations: 431 kB / 0.9722 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.1839, allocations: 1.281 MB / 0.9735 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1839, allocations: 0 / 0.9735 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1839, allocations: 0 / 0.9735 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.1839, allocations: 4 kB / 0.9735 GB, free: 11.4 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.001443/0.1853, allocations: 1.437 MB / 0.9749 GB, free: 9.918 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1853, allocations: 12.03 kB / 0.9749 GB, free: 9.906 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.1866, allocations: 451.4 kB / 0.9753 GB, free: 9.465 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007564/0.1873, allocations: 0.7182 MB / 0.976 GB, free: 8.723 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.1874, allocations: 58.12 kB / 0.9761 GB, free: 8.668 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.394e-05/0.1874, allocations: 80 kB / 0.9762 GB, free: 8.59 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009475/0.1884, allocations: 1.035 MB / 0.9772 GB, free: 7.434 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1884, allocations: 0 / 0.9772 GB, free: 7.434 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/0.1885, allocations: 39.98 kB / 0.9772 GB, free: 7.395 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.1885, allocations: 33.94 kB / 0.9772 GB, free: 7.363 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005228/0.189, allocations: 335.7 kB / 0.9776 GB, free: 7.031 MB / 0.9323 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.002806/0.1918, allocations: 2.501 MB / 0.98 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.1922, allocations: 280.2 kB / 0.9803 GB, free: 4.176 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.1924, allocations: 116.3 kB / 0.9804 GB, free: 4.059 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.674e-05/0.1925, allocations: 24.31 kB / 0.9804 GB, free: 4.035 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1925, allocations: 53.98 kB / 0.9805 GB, free: 3.973 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.1925, allocations: 0 / 0.9805 GB, free: 3.973 MB / 0.9323 GB Notification: Performance of matching and sorting (n=41): time 0.002459/0.195, allocations: 1.224 MB / 0.9817 GB, free: 2.703 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.195, allocations: 59.41 kB / 0.9817 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.1954, allocations: 0.6088 MB / 0.9823 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.1955, allocations: 37.69 kB / 0.9823 GB, free: 1.969 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.1957, allocations: 0.5027 MB / 0.9828 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.365e-05/0.1958, allocations: 158.7 kB / 0.983 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.1959, allocations: 108 kB / 0.9831 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1961, allocations: 0.5586 MB / 0.9836 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.1963, allocations: 85.2 kB / 0.9837 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.1965, allocations: 274.6 kB / 0.984 GB, free: 208 kB / 0.9323 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.0007175/0.1972, allocations: 0.522 MB / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1972, allocations: 0 / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009559/0.1982, allocations: 0.5474 MB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1982, allocations: 8 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1982, allocations: 8.094 kB / 0.985 GB, free: 15.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006774/0.1989, allocations: 243.4 kB / 0.9853 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.1992, allocations: 127.9 kB / 0.9854 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.201, allocations: 2.04 MB / 0.9874 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.2015, allocations: 35.97 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.2015, allocations: 20 kB / 0.9874 GB, free: 12.48 MB / 0.948 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: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002549/0.2018, allocations: 196.4 kB / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.2019, allocations: 91.47 kB / 0.9877 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.584e-05/0.202, allocations: 78.84 kB / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.202, allocations: 4 kB / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.202, allocations: 3.938 kB / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008452/0.2029, allocations: 467.5 kB / 0.9882 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.2049, allocations: 1.403 MB / 0.9896 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.205, allocations: 4 kB / 0.9896 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.2052, allocations: 107.9 kB / 0.9897 GB, free: 9.996 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006575/0.2059, allocations: 247.9 kB / 0.9899 GB, free: 9.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.2059, allocations: 19.94 kB / 0.99 GB, free: 9.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.2073, allocations: 1.99 MB / 0.9919 GB, free: 7.617 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2073, allocations: 4 kB / 0.9919 GB, free: 7.613 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.2084, allocations: 0.781 MB / 0.9927 GB, free: 6.746 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.2086, allocations: 139.5 kB / 0.9928 GB, free: 6.609 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.2086, allocations: 20.12 kB / 0.9928 GB, free: 6.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.209, allocations: 52.55 kB / 0.9929 GB, free: 6.539 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.2091, allocations: 35.88 kB / 0.9929 GB, free: 6.504 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.2091, allocations: 27.98 kB / 0.9929 GB, free: 6.477 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002844/0.2094, allocations: 395 kB / 0.9933 GB, free: 6.094 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.2094, allocations: 0 / 0.9933 GB, free: 6.094 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005644/0.2099, allocations: 275.9 kB / 0.9936 GB, free: 5.824 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002634/0.2102, allocations: 171 kB / 0.9937 GB, free: 5.648 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006645/0.2109, allocations: 480.9 kB / 0.9942 GB, free: 5.164 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2109, allocations: 0 / 0.9942 GB, free: 5.164 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.2111, allocations: 343.1 kB / 0.9945 GB, free: 4.809 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.2122, allocations: 470 kB / 0.995 GB, free: 4.363 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.2145, allocations: 1.616 MB / 0.9966 GB, free: 2.652 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.2146, allocations: 214.8 kB / 0.9968 GB, free: 2.422 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003424/0.2149, allocations: 149.8 kB / 0.9969 GB, free: 2.273 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.2151, allocations: 60.48 kB / 0.997 GB, free: 2.215 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/0.2151, allocations: 0 / 0.997 GB, free: 2.215 MB / 0.948 GB Notification: Performance of Templates: time 0.02056/0.2356, allocations: 18.96 MB / 1.015 GB, free: 15.67 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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: 5.7785082859918475]