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.001472/0.001472, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001523/0.001523, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.968/0.968, allocations: 177.2 MB / 204.6 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.855/1.855, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.463e-06/1.463e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.651e-05, allocations: 5.766 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1596/0.1596, allocations: 154.7 MB / 0.9112 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.006721/0.1664, allocations: 3.931 MB / 0.915 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008947/0.1672, allocations: 59.56 kB / 0.915 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006807/0.1679, allocations: 301.8 kB / 0.9153 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.1698, allocations: 1.177 MB / 0.9165 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.1712, allocations: 0.9119 MB / 0.9174 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002612/0.1738, allocations: 2.984 MB / 0.9203 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008363/0.1746, allocations: 0.8109 MB / 0.9211 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.1769, allocations: 1.647 MB / 0.9227 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008145/0.1777, allocations: 0.8101 MB / 0.9235 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.1778, allocations: 104 kB / 0.9236 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006129/0.1784, allocations: 403.1 kB / 0.924 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003301/0.1787, allocations: 0.4947 MB / 0.9244 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.1792, allocations: 471 kB / 0.9249 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.1803, allocations: 1.203 MB / 0.9261 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1803, allocations: 4 kB / 0.9261 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1803, allocations: 4 kB / 0.9261 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.1803, allocations: 0 / 0.9261 GB, free: 12.22 MB / 0.8855 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.00135/0.1817, allocations: 1.32 MB / 0.9274 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1817, allocations: 8.031 kB / 0.9274 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009789/0.1827, allocations: 388 kB / 0.9277 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008107/0.1835, allocations: 0.6525 MB / 0.9284 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.1835, allocations: 70.11 kB / 0.9284 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-05/0.1836, allocations: 92 kB / 0.9285 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007859/0.1844, allocations: 0.9818 MB / 0.9295 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.1844, allocations: 0 / 0.9295 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.1845, allocations: 36 kB / 0.9295 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.1845, allocations: 30 kB / 0.9296 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.1849, allocations: 245.8 kB / 0.9298 GB, free: 8.234 MB / 0.8855 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.002365/0.1872, allocations: 1.801 MB / 0.9316 GB, free: 6.398 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.1875, allocations: 271.8 kB / 0.9318 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1876, allocations: 107.2 kB / 0.9319 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-05/0.1877, allocations: 36.34 kB / 0.9319 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1877, allocations: 42.88 kB / 0.932 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=45): time 1.753e-06/0.1877, allocations: 0 / 0.932 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.001236/0.189, allocations: 0.7455 MB / 0.9327 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.189, allocations: 55.91 kB / 0.9328 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.1893, allocations: 0.5389 MB / 0.9333 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.1893, allocations: 37.7 kB / 0.9333 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.1895, allocations: 417.1 kB / 0.9337 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.261e-05/0.1896, allocations: 178.5 kB / 0.9339 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.1897, allocations: 110.2 kB / 0.934 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000243/0.19, allocations: 394.5 kB / 0.9344 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/0.19, allocations: 64.11 kB / 0.9344 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.1902, allocations: 234.3 kB / 0.9347 GB, free: 3.043 MB / 0.8855 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.0004668/0.1907, allocations: 447.8 kB / 0.9351 GB, free: 2.566 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1907, allocations: 0 / 0.9351 GB, free: 2.566 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0003611/0.191, allocations: 339.1 kB / 0.9354 GB, free: 2.219 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.191, allocations: 12.03 kB / 0.9354 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.191, allocations: 4 kB / 0.9354 GB, free: 2.203 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.503e-05/0.1911, allocations: 36.52 kB / 0.9355 GB, free: 2.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.1914, allocations: 131.8 kB / 0.9356 GB, free: 2.031 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.1926, allocations: 2.413 MB / 0.9379 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.1929, allocations: 23.98 kB / 0.938 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.1929, allocations: 23.88 kB / 0.938 GB, free: 15.38 MB / 0.9011 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.0001765/0.1931, allocations: 153.6 kB / 0.9381 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/0.1931, allocations: 67.86 kB / 0.9382 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.1932, allocations: 87.41 kB / 0.9383 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1932, allocations: 8 kB / 0.9383 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1932, allocations: 0 / 0.9383 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002971/0.1935, allocations: 0.4965 MB / 0.9388 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.1946, allocations: 0.9616 MB / 0.9397 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.1946, allocations: 4 kB / 0.9397 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.1949, allocations: 111.9 kB / 0.9398 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.221e-05/0.1949, allocations: 31.59 kB / 0.9399 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.1949, allocations: 15.94 kB / 0.9399 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006927/0.1956, allocations: 1.245 MB / 0.9411 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1956, allocations: 4 kB / 0.9411 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.1961, allocations: 0.5769 MB / 0.9417 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.1963, allocations: 107.4 kB / 0.9418 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.1963, allocations: 12 kB / 0.9418 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.1966, allocations: 27.92 kB / 0.9418 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.1966, allocations: 39.88 kB / 0.9418 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.1967, allocations: 32.03 kB / 0.9419 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001806/0.1969, allocations: 256.6 kB / 0.9421 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.1969, allocations: 0 / 0.9421 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000482/0.1973, allocations: 268 kB / 0.9424 GB, free: 10.54 MB / 0.9011 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.0002326/0.1976, allocations: 128.2 kB / 0.9425 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004617/0.198, allocations: 482.1 kB / 0.943 GB, free: 9.906 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.198, allocations: 12 kB / 0.943 GB, free: 9.895 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.1982, allocations: 249.6 kB / 0.9432 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.1993, allocations: 0.519 MB / 0.9437 GB, free: 9.129 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.2012, allocations: 1.558 MB / 0.9452 GB, free: 7.488 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.2013, allocations: 224.1 kB / 0.9454 GB, free: 7.25 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003534/0.2017, allocations: 134.4 kB / 0.9456 GB, free: 7.113 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006718/0.2023, allocations: 389 kB / 0.9459 GB, free: 6.727 MB / 0.9011 GB Notification: Performance of SimCode: time 8.32e-07/0.2023, allocations: 0 / 0.9459 GB, free: 6.727 MB / 0.9011 GB Notification: Performance of Templates: time 0.02189/0.2242, allocations: 19 MB / 0.9645 GB, free: 4.207 MB / 0.9167 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.615525718778372]