Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001227/0.001227, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001318/0.001318, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9949/0.9949, allocations: 177.1 MB / 204.2 MB, free: 5.613 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 2.001/2.001, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.8116 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.423e-05/3.629e-05, allocations: 7.25 kB / 0.8116 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1449/0.145, allocations: 149.5 MB / 0.9576 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00551/0.1505, allocations: 3.172 MB / 0.9607 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008229/0.1513, allocations: 43.62 kB / 0.9607 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006831/0.152, allocations: 238.3 kB / 0.9609 GB, free: 8.285 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.1534, allocations: 0.7341 MB / 0.9617 GB, free: 7.547 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.1551, allocations: 0.7169 MB / 0.9624 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001884/0.157, allocations: 1.496 MB / 0.9638 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007263/0.1577, allocations: 0.5031 MB / 0.9643 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008664/0.1585, allocations: 0.7286 MB / 0.965 GB, free: 4.078 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008708/0.1594, allocations: 477.4 kB / 0.9655 GB, free: 3.629 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.734e-05/0.1595, allocations: 56 kB / 0.9655 GB, free: 3.574 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009846/0.1605, allocations: 0.5923 MB / 0.9661 GB, free: 2.977 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.1607, allocations: 303.1 kB / 0.9664 GB, free: 2.68 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.1609, allocations: 263.3 kB / 0.9666 GB, free: 2.422 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.1621, allocations: 0.8799 MB / 0.9675 GB, free: 1.539 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1621, allocations: 7.984 kB / 0.9675 GB, free: 1.531 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1621, allocations: 0 / 0.9675 GB, free: 1.531 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.1621, allocations: 0 / 0.9675 GB, free: 1.531 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001052/0.1632, allocations: 1.095 MB / 0.9686 GB, free: 408 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1632, allocations: 8.031 kB / 0.9686 GB, free: 400 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005807/0.1638, allocations: 236.1 kB / 0.9688 GB, free: 164 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/0.1644, allocations: 0.5157 MB / 0.9693 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.1644, allocations: 49.25 kB / 0.9694 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.1645, allocations: 64 kB / 0.9694 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.1652, allocations: 0.7161 MB / 0.9701 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1652, allocations: 0 / 0.9701 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.1653, allocations: 24 kB / 0.9701 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.1653, allocations: 28.98 kB / 0.9702 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.1657, allocations: 233.4 kB / 0.9704 GB, free: 14.36 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.003017/0.1687, allocations: 5.334 MB / 0.9756 GB, free: 8.816 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.1689, allocations: 116.3 kB / 0.9757 GB, free: 8.652 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.169, allocations: 54.92 kB / 0.9758 GB, free: 8.582 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.1691, allocations: 16 kB / 0.9758 GB, free: 8.566 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1691, allocations: 45.31 kB / 0.9758 GB, free: 8.512 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=10): time 2.404e-06/0.1691, allocations: 4 kB / 0.9758 GB, free: 8.508 MB / 0.9323 GB Notification: Performance of matching and sorting (n=10): time 0.0003738/0.1695, allocations: 149.1 kB / 0.976 GB, free: 8.355 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.1696, allocations: 132.5 kB / 0.9761 GB, free: 8.195 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.17, allocations: 0.5846 MB / 0.9767 GB, free: 7.594 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1701, allocations: 29.7 kB / 0.9767 GB, free: 7.559 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.1703, allocations: 486.6 kB / 0.9772 GB, free: 7.074 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.1703, allocations: 35.73 kB / 0.9772 GB, free: 7.039 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-05/0.1704, allocations: 99.62 kB / 0.9773 GB, free: 6.934 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1705, allocations: 0.5313 MB / 0.9778 GB, free: 6.391 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.28e-05/0.1706, allocations: 36.72 kB / 0.9778 GB, free: 6.355 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.1709, allocations: 0.5383 MB / 0.9784 GB, free: 5.621 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.1712, allocations: 432.6 kB / 0.9788 GB, free: 5.051 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1712, allocations: 0 / 0.9788 GB, free: 5.051 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003961/0.1716, allocations: 349.7 kB / 0.9791 GB, free: 4.703 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1716, allocations: 8.156 kB / 0.9791 GB, free: 4.695 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1716, allocations: 12 kB / 0.9791 GB, free: 4.684 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.1716, allocations: 20.02 kB / 0.9792 GB, free: 4.664 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.1718, allocations: 91.83 kB / 0.9792 GB, free: 4.574 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.1718, allocations: 19.92 kB / 0.9793 GB, free: 4.555 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.1721, allocations: 67.61 kB / 0.9793 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.1721, allocations: 23.98 kB / 0.9794 GB, free: 4.465 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0001319/0.1722, allocations: 192.4 kB / 0.9795 GB, free: 4.266 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.829e-05/0.1723, allocations: 55.67 kB / 0.9796 GB, free: 4.211 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.1724, allocations: 52.12 kB / 0.9796 GB, free: 4.16 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1724, allocations: 3.938 kB / 0.9796 GB, free: 4.156 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.1724, allocations: 4 kB / 0.9796 GB, free: 4.152 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1724, allocations: 0 / 0.9796 GB, free: 4.152 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008848/0.1733, allocations: 1.194 MB / 0.9808 GB, free: 2.871 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1733, allocations: 4 kB / 0.9808 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.1733, allocations: 19.94 kB / 0.9808 GB, free: 2.848 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1733, allocations: 4 kB / 0.9808 GB, free: 2.844 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.1733, allocations: 4 kB / 0.9808 GB, free: 2.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1733, allocations: 7.922 kB / 0.9808 GB, free: 2.832 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1733, allocations: 4 kB / 0.9809 GB, free: 2.828 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.1735, allocations: 233.4 kB / 0.9811 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.1736, allocations: 83.53 kB / 0.9812 GB, free: 2.457 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.1736, allocations: 4 kB / 0.9812 GB, free: 2.453 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1737, allocations: 7.984 kB / 0.9812 GB, free: 2.445 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.1737, allocations: 23.86 kB / 0.9812 GB, free: 2.422 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1738, allocations: 4 kB / 0.9812 GB, free: 2.418 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002554/0.174, allocations: 354.8 kB / 0.9815 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.174, allocations: 0 / 0.9815 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004623/0.1745, allocations: 179.5 kB / 0.9817 GB, free: 1.898 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0004187/0.1749, allocations: 166.8 kB / 0.9819 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.1752, allocations: 160.2 kB / 0.982 GB, free: 1.574 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1752, allocations: 4 kB / 0.982 GB, free: 1.57 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.1752, allocations: 37.11 kB / 0.9821 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.1759, allocations: 218.5 kB / 0.9823 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.1773, allocations: 0.9967 MB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.1774, allocations: 161.2 kB / 0.9834 GB, free: 76 kB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002249/0.1776, allocations: 100.5 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.1777, allocations: 36.5 kB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of SimCode: time 1.633e-06/0.1777, allocations: 0 / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of Templates: time 0.01089/0.1886, allocations: 7.527 MB / 0.9909 GB, free: 8.664 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.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.8716370719484985]