Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.001095/0.001095, allocations: 83.59 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.001328/0.001328, allocations: 165 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.9906/0.9906, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.916/1.916, allocations: 377.8 MB / 0.6236 GB, free: 8.527 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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.729e-05, allocations: 3.312 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1399/0.1399, allocations: 155.5 MB / 0.9634 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005911/0.1458, allocations: 3.864 MB / 0.9672 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008064/0.1466, allocations: 55.5 kB / 0.9673 GB, free: 1.746 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007867/0.1474, allocations: 305.8 kB / 0.9676 GB, free: 1.445 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.1496, allocations: 1.177 MB / 0.9687 GB, free: 268 kB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.1511, allocations: 0.9081 MB / 0.9696 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002792/0.1539, allocations: 2.991 MB / 0.9725 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.155, allocations: 0.8051 MB / 0.9733 GB, free: 11.53 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.1567, allocations: 1.372 MB / 0.9746 GB, free: 10.15 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.1581, allocations: 0.9258 MB / 0.9756 GB, free: 9.262 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.1583, allocations: 115.9 kB / 0.9757 GB, free: 9.148 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009981/0.1593, allocations: 490.8 kB / 0.9761 GB, free: 8.668 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004607/0.1598, allocations: 0.5025 MB / 0.9766 GB, free: 8.164 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006322/0.1604, allocations: 479 kB / 0.9771 GB, free: 7.695 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.162, allocations: 1.25 MB / 0.9783 GB, free: 6.441 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.162, allocations: 0 / 0.9783 GB, free: 6.441 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.974e-06/0.162, allocations: 0 / 0.9783 GB, free: 6.441 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.162, allocations: 0 / 0.9783 GB, free: 6.441 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.001714/0.1637, allocations: 1.508 MB / 0.9798 GB, free: 4.895 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1638, allocations: 16.03 kB / 0.9798 GB, free: 4.879 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.165, allocations: 431.4 kB / 0.9802 GB, free: 4.457 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009558/0.1659, allocations: 0.8107 MB / 0.981 GB, free: 3.621 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.166, allocations: 73.88 kB / 0.9811 GB, free: 3.547 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.1661, allocations: 92 kB / 0.9811 GB, free: 3.457 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009928/0.1671, allocations: 1.049 MB / 0.9822 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.1671, allocations: 0 / 0.9822 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.84e-05/0.1672, allocations: 40 kB / 0.9822 GB, free: 2.234 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/0.1672, allocations: 30 kB / 0.9822 GB, free: 2.207 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.1678, allocations: 355.7 kB / 0.9826 GB, free: 1.859 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.002991/0.1708, allocations: 2.202 MB / 0.9847 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.1712, allocations: 273.1 kB / 0.985 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.1713, allocations: 133.1 kB / 0.9851 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.1714, allocations: 32.47 kB / 0.9851 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.1715, allocations: 49.83 kB / 0.9852 GB, free: 15.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 1.763e-06/0.1715, allocations: 0 / 0.9852 GB, free: 15.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.001842/0.1733, allocations: 1.053 MB / 0.9862 GB, free: 14.01 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1734, allocations: 59.91 kB / 0.9863 GB, free: 13.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.1739, allocations: 0.6283 MB / 0.9869 GB, free: 13.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.174, allocations: 37.7 kB / 0.9869 GB, free: 13.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.1743, allocations: 0.5417 MB / 0.9875 GB, free: 12.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.1744, allocations: 182.4 kB / 0.9876 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.1746, allocations: 123.8 kB / 0.9878 GB, free: 12.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.1748, allocations: 0.5625 MB / 0.9883 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.1749, allocations: 89.25 kB / 0.9884 GB, free: 11.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.1752, allocations: 368.8 kB / 0.9887 GB, free: 11.28 MB / 0.948 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.00079/0.176, allocations: 0.5779 MB / 0.9893 GB, free: 10.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.176, allocations: 0 / 0.9893 GB, free: 10.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006073/0.1766, allocations: 496.2 kB / 0.9898 GB, free: 10.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1766, allocations: 5.875 kB / 0.9898 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1766, allocations: 8.344 kB / 0.9898 GB, free: 10.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001206/0.1768, allocations: 51.39 kB / 0.9898 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.1771, allocations: 135.8 kB / 0.99 GB, free: 9.938 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.1788, allocations: 3.524 MB / 0.9934 GB, free: 6.168 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.1791, allocations: 23.95 kB / 0.9934 GB, free: 6.145 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.1792, allocations: 27.98 kB / 0.9935 GB, free: 6.117 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: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.1794, allocations: 200.3 kB / 0.9936 GB, free: 5.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.1795, allocations: 91.53 kB / 0.9937 GB, free: 5.82 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.684e-05/0.1796, allocations: 91.34 kB / 0.9938 GB, free: 5.723 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1796, allocations: 4 kB / 0.9938 GB, free: 5.719 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1796, allocations: 8.062 kB / 0.9938 GB, free: 5.711 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005033/0.1801, allocations: 0.5853 MB / 0.9944 GB, free: 5.039 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.1815, allocations: 1.292 MB / 0.9957 GB, free: 3.648 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1815, allocations: 4.094 kB / 0.9957 GB, free: 3.645 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.1818, allocations: 119.8 kB / 0.9958 GB, free: 3.527 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.466e-05/0.1819, allocations: 27.67 kB / 0.9958 GB, free: 3.496 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.1819, allocations: 15.94 kB / 0.9958 GB, free: 3.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008312/0.1827, allocations: 1.787 MB / 0.9976 GB, free: 1.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.1827, allocations: 7.969 kB / 0.9976 GB, free: 1.562 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.1834, allocations: 0.7019 MB / 0.9983 GB, free: 0.7812 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.1836, allocations: 147.4 kB / 0.9984 GB, free: 0.6367 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.1837, allocations: 15.98 kB / 0.9984 GB, free: 0.6211 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.184, allocations: 37.73 kB / 0.9985 GB, free: 0.5859 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.1841, allocations: 43.88 kB / 0.9985 GB, free: 0.543 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.1841, allocations: 27.98 kB / 0.9985 GB, free: 0.5156 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003182/0.1844, allocations: 411 kB / 0.9989 GB, free: 124 kB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1844, allocations: 4.031 kB / 0.9989 GB, free: 120 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005425/0.185, allocations: 272 kB / 0.9992 GB, free: 15.85 MB / 0.9636 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 (47): * 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: 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000276/0.1852, allocations: 151 kB / 0.9993 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007272/0.186, allocations: 0.6552 MB / 1 GB, free: 15 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.186, allocations: 0 / 1 GB, free: 15 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.1862, allocations: 331.6 kB / 1 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.1874, allocations: 0.5004 MB / 1.001 GB, free: 14.17 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.1894, allocations: 1.607 MB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.1896, allocations: 232 kB / 1.003 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0003934/0.19, allocations: 166.6 kB / 1.003 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.1901, allocations: 68.42 kB / 1.003 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of SimCode: time 1.072e-06/0.1901, allocations: 3.938 kB / 1.003 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of Templates: time 0.02029/0.2104, allocations: 17.71 MB / 1.02 GB, free: 10.72 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.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.952077669091523]