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.0009581/0.0009581, allocations: 80.92 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.0009478/0.0009478, allocations: 161 kB / 24.17 MB, free: 332 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 1.008/1.008, allocations: 177.2 MB / 204.6 MB, free: 5.484 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 2.022/2.022, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.644e-06/1.644e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.31e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1597/0.1597, allocations: 154.8 MB / 0.9112 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.006342/0.1661, allocations: 3.93 MB / 0.9151 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.1671, allocations: 59.5 kB / 0.9151 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00074/0.1679, allocations: 301.8 kB / 0.9154 GB, free: 7.121 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.17, allocations: 1.185 MB / 0.9166 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.1716, allocations: 0.8964 MB / 0.9174 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003126/0.1747, allocations: 2.992 MB / 0.9204 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.1764, allocations: 0.8837 MB / 0.9212 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.1791, allocations: 1.65 MB / 0.9228 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.1803, allocations: 0.8179 MB / 0.9236 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002121/0.1805, allocations: 104 kB / 0.9237 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008454/0.1813, allocations: 403.1 kB / 0.9241 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003959/0.1817, allocations: 0.4947 MB / 0.9246 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0005324/0.1822, allocations: 475 kB / 0.9251 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.1838, allocations: 1.203 MB / 0.9262 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1838, allocations: 0 / 0.9262 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1838, allocations: 0 / 0.9262 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.559e-05/0.1839, allocations: 4 kB / 0.9262 GB, free: 12.07 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.001585/0.1855, allocations: 1.32 MB / 0.9275 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1855, allocations: 12.03 kB / 0.9275 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.1867, allocations: 384 kB / 0.9279 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008657/0.1876, allocations: 0.6487 MB / 0.9285 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.1876, allocations: 70.12 kB / 0.9286 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.352e-05/0.1877, allocations: 92 kB / 0.9287 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008386/0.1885, allocations: 0.9739 MB / 0.9296 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.1886, allocations: 0 / 0.9296 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/0.1886, allocations: 40 kB / 0.9297 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.1887, allocations: 30 kB / 0.9297 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.189, allocations: 249.8 kB / 0.93 GB, free: 8.09 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.002865/0.1919, allocations: 1.805 MB / 0.9317 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.1922, allocations: 265.7 kB / 0.932 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.1923, allocations: 112.3 kB / 0.9321 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.1925, allocations: 28.36 kB / 0.9321 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.1925, allocations: 42.94 kB / 0.9321 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=45): time 2.865e-06/0.1925, allocations: 0 / 0.9321 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.001534/0.194, allocations: 0.7487 MB / 0.9329 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.1941, allocations: 59.84 kB / 0.9329 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.1944, allocations: 0.5389 MB / 0.9335 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.1945, allocations: 37.7 kB / 0.9335 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.1948, allocations: 413.1 kB / 0.9339 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.1949, allocations: 182.5 kB / 0.9341 GB, free: 3.75 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.1951, allocations: 106.2 kB / 0.9342 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1952, allocations: 398.5 kB / 0.9345 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.1953, allocations: 60.11 kB / 0.9346 GB, free: 3.18 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.1955, allocations: 226.4 kB / 0.9348 GB, free: 2.906 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.0005429/0.196, allocations: 456.4 kB / 0.9353 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.196, allocations: 0 / 0.9353 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004121/0.1964, allocations: 338.7 kB / 0.9356 GB, free: 2.074 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1964, allocations: 10.91 kB / 0.9356 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1964, allocations: 4 kB / 0.9356 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.722e-05/0.1965, allocations: 48.45 kB / 0.9356 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.197, allocations: 158.6 kB / 0.9358 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.1983, allocations: 2.398 MB / 0.9381 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.1987, allocations: 23.98 kB / 0.9382 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.1987, allocations: 16 kB / 0.9382 GB, free: 15.22 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.0002203/0.1989, allocations: 148.5 kB / 0.9383 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.905e-05/0.199, allocations: 71.86 kB / 0.9384 GB, free: 15 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.494e-05/0.1991, allocations: 91.44 kB / 0.9385 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1991, allocations: 4 kB / 0.9385 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1991, allocations: 4 kB / 0.9385 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003337/0.1994, allocations: 0.4887 MB / 0.939 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.2006, allocations: 0.9733 MB / 0.9399 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2006, allocations: 48 / 0.9399 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.201, allocations: 146.6 kB / 0.94 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.609e-05/0.201, allocations: 27.67 kB / 0.9401 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.2011, allocations: 16.22 kB / 0.9401 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007544/0.2018, allocations: 1.227 MB / 0.9413 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2018, allocations: 4 kB / 0.9413 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005247/0.2023, allocations: 0.5768 MB / 0.9418 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.2025, allocations: 107.4 kB / 0.942 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.2026, allocations: 16.05 kB / 0.942 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.2029, allocations: 34.41 kB / 0.942 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.2029, allocations: 47.81 kB / 0.942 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.203, allocations: 19.98 kB / 0.9421 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002048/0.2032, allocations: 252.5 kB / 0.9423 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2032, allocations: 0 / 0.9423 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006869/0.2039, allocations: 276 kB / 0.9426 GB, free: 10.36 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.0002739/0.2041, allocations: 132.4 kB / 0.9427 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005704/0.2047, allocations: 482.1 kB / 0.9432 GB, free: 9.723 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.93e-05/0.2047, allocations: 8 kB / 0.9432 GB, free: 9.715 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.2049, allocations: 245.6 kB / 0.9434 GB, free: 9.461 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.2062, allocations: 0.523 MB / 0.9439 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.2082, allocations: 1.556 MB / 0.9454 GB, free: 7.312 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.2084, allocations: 232.1 kB / 0.9456 GB, free: 7.066 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004668/0.2089, allocations: 126.4 kB / 0.9458 GB, free: 6.938 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007177/0.2096, allocations: 385 kB / 0.9461 GB, free: 6.555 MB / 0.9011 GB Notification: Performance of SimCode: time 1.193e-06/0.2096, allocations: 0 / 0.9461 GB, free: 6.555 MB / 0.9011 GB Notification: Performance of Templates: time 0.04647/0.2561, allocations: 19 MB / 0.9647 GB, free: 4.031 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 -s gbode -gbm=radauIIA3 -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.697184005752206]