Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009221/0.0009221, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009798/0.0009798, allocations: 181 kB / 23.36 MB, free: 1.133 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.9989/0.9989, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.452/2.452, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.076e-05, allocations: 4.141 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1471/0.1472, allocations: 154.7 MB / 0.9897 GB, free: 2.82 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006065/0.1532, allocations: 3.946 MB / 0.9936 GB, free: 14.87 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.1544, allocations: 51.56 kB / 0.9936 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007594/0.1551, allocations: 301.8 kB / 0.9939 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.1575, allocations: 1.189 MB / 0.9951 GB, free: 13.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.1591, allocations: 0.9004 MB / 0.9959 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002886/0.1619, allocations: 2.967 MB / 0.9988 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.1631, allocations: 0.7992 MB / 0.9996 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.1658, allocations: 1.659 MB / 1.001 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.1672, allocations: 0.8024 MB / 1.002 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.1674, allocations: 104 kB / 1.002 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000756/0.1682, allocations: 407.1 kB / 1.003 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000389/0.1686, allocations: 0.4947 MB / 1.003 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0004892/0.1691, allocations: 467 kB / 1.003 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.1706, allocations: 1.207 MB / 1.005 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1706, allocations: 0 / 1.005 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1706, allocations: 0 / 1.005 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.316e-05/0.1706, allocations: 0 / 1.005 GB, free: 3.559 MB / 0.9636 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.001654/0.1723, allocations: 1.32 MB / 1.006 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1723, allocations: 8.625 kB / 1.006 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.1734, allocations: 388 kB / 1.006 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.1742, allocations: 0.6409 MB / 1.007 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.1743, allocations: 66.12 kB / 1.007 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.1744, allocations: 99.98 kB / 1.007 GB, free: 0.9922 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008023/0.1752, allocations: 0.9739 MB / 1.008 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.1752, allocations: 7.938 kB / 1.008 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/0.1752, allocations: 36 kB / 1.008 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/0.1753, allocations: 37.94 kB / 1.008 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.1756, allocations: 249.8 kB / 1.008 GB, free: 15.57 MB / 0.9792 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.002648/0.1783, allocations: 1.805 MB / 1.01 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.1786, allocations: 269.1 kB / 1.01 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1787, allocations: 108.4 kB / 1.01 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.591e-05/0.1788, allocations: 24.36 kB / 1.01 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1788, allocations: 42.92 kB / 1.011 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.1788, allocations: 0 / 1.011 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of matching and sorting (n=47): time 0.001393/0.1802, allocations: 0.7479 MB / 1.011 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.1803, allocations: 59.91 kB / 1.011 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.1807, allocations: 0.535 MB / 1.012 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.1807, allocations: 37.7 kB / 1.012 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1809, allocations: 413.1 kB / 1.012 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.362e-05/0.181, allocations: 178.5 kB / 1.012 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.1811, allocations: 106.2 kB / 1.013 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1812, allocations: 394.5 kB / 1.013 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-05/0.1813, allocations: 64.11 kB / 1.013 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.1814, allocations: 226.4 kB / 1.013 GB, free: 10.39 MB / 0.9792 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.0004831/0.1819, allocations: 455.8 kB / 1.014 GB, free: 9.898 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1819, allocations: 3.938 kB / 1.014 GB, free: 9.895 MB / 0.9792 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0003716/0.1823, allocations: 342.9 kB / 1.014 GB, free: 9.547 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1823, allocations: 8 kB / 1.014 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1823, allocations: 0 / 1.014 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.802e-05/0.1824, allocations: 36.53 kB / 1.014 GB, free: 9.496 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.1827, allocations: 131.8 kB / 1.014 GB, free: 9.367 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.184, allocations: 2.413 MB / 1.016 GB, free: 6.766 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.1843, allocations: 27.94 kB / 1.017 GB, free: 6.738 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.1843, allocations: 20 kB / 1.017 GB, free: 6.719 MB / 0.9792 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 (69): * Single equations (assignments): 67 * 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.0001713/0.1845, allocations: 152.6 kB / 1.017 GB, free: 6.559 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.1846, allocations: 71.86 kB / 1.017 GB, free: 6.488 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/0.1847, allocations: 83.27 kB / 1.017 GB, free: 6.398 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.1847, allocations: 12.08 kB / 1.017 GB, free: 6.387 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1847, allocations: 0 / 1.017 GB, free: 6.387 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003003/0.185, allocations: 0.5003 MB / 1.017 GB, free: 5.793 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.186, allocations: 0.9697 MB / 1.018 GB, free: 4.742 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.1861, allocations: 4 kB / 1.018 GB, free: 4.738 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.1863, allocations: 115.9 kB / 1.018 GB, free: 4.625 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.638e-05/0.1864, allocations: 23.69 kB / 1.018 GB, free: 4.598 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.1864, allocations: 15.92 kB / 1.018 GB, free: 4.582 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006362/0.187, allocations: 1.241 MB / 1.02 GB, free: 3.246 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.187, allocations: 7.938 kB / 1.02 GB, free: 3.238 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.1875, allocations: 0.5764 MB / 1.02 GB, free: 2.594 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.1877, allocations: 99.48 kB / 1.02 GB, free: 2.496 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.1877, allocations: 16 kB / 1.02 GB, free: 2.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.188, allocations: 30.89 kB / 1.02 GB, free: 2.453 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.1881, allocations: 51.8 kB / 1.02 GB, free: 2.402 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.1881, allocations: 20.12 kB / 1.02 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001842/0.1883, allocations: 252.6 kB / 1.021 GB, free: 2.137 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1883, allocations: 0 / 1.021 GB, free: 2.137 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005415/0.1888, allocations: 272 kB / 1.021 GB, free: 1.871 MB / 0.9792 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 (45): * Single equations (assignments): 44 * 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.0002634/0.1891, allocations: 140.2 kB / 1.021 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004751/0.1896, allocations: 489.4 kB / 1.022 GB, free: 1.219 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.1896, allocations: 8 kB / 1.022 GB, free: 1.211 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.1899, allocations: 245.7 kB / 1.022 GB, free: 0.957 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.191, allocations: 0.5067 MB / 1.022 GB, free: 472 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.193, allocations: 1.549 MB / 1.024 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.1931, allocations: 228 kB / 1.024 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004004/0.1935, allocations: 126.4 kB / 1.024 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006851/0.1942, allocations: 397 kB / 1.024 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of SimCode: time 1.994e-06/0.1942, allocations: 0 / 1.024 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of Templates: time 0.02223/0.2164, allocations: 18.95 MB / 1.043 GB, free: 11.58 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.464231365825981]