Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.0009331/0.0009331, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009212/0.0009212, allocations: 173 kB / 24.28 MB, free: 280 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.9424/0.9424, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.865/1.865, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.165e-05, allocations: 6 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1677/0.1677, allocations: 187.5 MB / 0.9703 GB, free: 0.6562 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.007976/0.1757, allocations: 5.819 MB / 0.9759 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007669/0.1765, allocations: 51.56 kB / 0.976 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.1777, allocations: 0.5511 MB / 0.9765 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003547/0.1813, allocations: 1.959 MB / 0.9784 GB, free: 8.25 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.1836, allocations: 1.246 MB / 0.9797 GB, free: 7 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003083/0.1867, allocations: 3.047 MB / 0.9826 GB, free: 3.945 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.1878, allocations: 0.8558 MB / 0.9835 GB, free: 3.07 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.1895, allocations: 1.465 MB / 0.9849 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.1908, allocations: 0.9516 MB / 0.9858 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.191, allocations: 127.9 kB / 0.986 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.1929, allocations: 1.223 MB / 0.9871 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004975/0.1934, allocations: 0.6312 MB / 0.9878 GB, free: 14.68 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005249/0.1939, allocations: 0.5262 MB / 0.9883 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.1958, allocations: 1.749 MB / 0.99 GB, free: 12.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1958, allocations: 0 / 0.99 GB, free: 12.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1959, allocations: 0 / 0.99 GB, free: 12.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.1959, allocations: 4 kB / 0.99 GB, free: 12.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002057/0.1979, allocations: 1.686 MB / 0.9916 GB, free: 10.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.198, allocations: 8.031 kB / 0.9916 GB, free: 10.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.1997, allocations: 458.3 kB / 0.9921 GB, free: 10.21 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.2009, allocations: 0.8567 MB / 0.9929 GB, free: 9.328 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.2009, allocations: 77.94 kB / 0.993 GB, free: 9.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.2011, allocations: 108 kB / 0.9931 GB, free: 9.145 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.2024, allocations: 1.119 MB / 0.9942 GB, free: 7.895 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.2024, allocations: 0 / 0.9942 GB, free: 7.895 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.944e-05/0.2025, allocations: 51.94 kB / 0.9942 GB, free: 7.844 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.893e-05/0.2025, allocations: 41.98 kB / 0.9943 GB, free: 7.805 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008384/0.2034, allocations: 407.7 kB / 0.9947 GB, free: 7.402 MB / 0.948 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.003811/0.2072, allocations: 2.476 MB / 0.9971 GB, free: 4.875 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.2077, allocations: 341.4 kB / 0.9974 GB, free: 4.531 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.2079, allocations: 145.7 kB / 0.9975 GB, free: 4.383 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.2081, allocations: 28.48 kB / 0.9976 GB, free: 4.355 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.2081, allocations: 45.89 kB / 0.9976 GB, free: 4.301 MB / 0.948 GB Notification: Performance of pre-optimization done (n=53): time 2.645e-06/0.2081, allocations: 0 / 0.9976 GB, free: 4.301 MB / 0.948 GB Notification: Performance of matching and sorting (n=55): time 0.002337/0.2104, allocations: 1.189 MB / 0.9988 GB, free: 3.062 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.2105, allocations: 55.91 kB / 0.9988 GB, free: 2.996 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006357/0.2111, allocations: 0.6634 MB / 0.9995 GB, free: 2.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.2111, allocations: 37.7 kB / 0.9995 GB, free: 2.277 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.2115, allocations: 0.5924 MB / 1 GB, free: 1.676 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.2116, allocations: 206.2 kB / 1 GB, free: 1.473 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.2118, allocations: 140.2 kB / 1 GB, free: 1.328 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.212, allocations: 0.5741 MB / 1.001 GB, free: 0.7422 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.2122, allocations: 97.94 kB / 1.001 GB, free: 0.6484 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.2125, allocations: 352.5 kB / 1.001 GB, free: 228 kB / 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.001071/0.2136, allocations: 0.6608 MB / 1.002 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2136, allocations: 4 kB / 1.002 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0008736/0.2145, allocations: 0.5658 MB / 1.003 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2145, allocations: 4.5 kB / 1.003 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.2145, allocations: 4 kB / 1.003 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.2147, allocations: 71.03 kB / 1.003 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.2151, allocations: 151.8 kB / 1.003 GB, free: 14.67 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.2177, allocations: 5.263 MB / 1.008 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.2182, allocations: 19.98 kB / 1.008 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.2182, allocations: 28 kB / 1.008 GB, free: 8.988 MB / 0.9636 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.2184, allocations: 204.6 kB / 1.008 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.2185, allocations: 107.5 kB / 1.008 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.354e-05/0.2186, allocations: 87.73 kB / 1.008 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2186, allocations: 11.94 kB / 1.008 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.2186, allocations: 0 / 1.008 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001673/0.2203, allocations: 481.1 kB / 1.009 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.2224, allocations: 1.403 MB / 1.01 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.2224, allocations: 4 kB / 1.01 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.2228, allocations: 136.2 kB / 1.01 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.032e-05/0.2228, allocations: 27.67 kB / 1.01 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.2229, allocations: 16 kB / 1.01 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.2239, allocations: 1.787 MB / 1.012 GB, free: 4.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.2239, allocations: 11.94 kB / 1.012 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000956/0.2249, allocations: 0.7542 MB / 1.013 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.2251, allocations: 163.4 kB / 1.013 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.171e-05/0.2252, allocations: 19.98 kB / 1.013 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.2256, allocations: 25.95 kB / 1.013 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.2257, allocations: 55.8 kB / 1.013 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/0.2257, allocations: 27.98 kB / 1.013 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003922/0.2261, allocations: 426.9 kB / 1.014 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.2261, allocations: 0 / 1.014 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0007482/0.2269, allocations: 307.9 kB / 1.014 GB, free: 2.602 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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.0003188/0.2272, allocations: 179.3 kB / 1.014 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0009072/0.2281, allocations: 0.8616 MB / 1.015 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2281, allocations: 4 kB / 1.015 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.2284, allocations: 350 kB / 1.015 GB, free: 1.137 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.2298, allocations: 0.5384 MB / 1.016 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.2324, allocations: 1.838 MB / 1.018 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.2326, allocations: 280.6 kB / 1.018 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005438/0.2332, allocations: 186.9 kB / 1.018 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.2333, allocations: 68.48 kB / 1.018 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of SimCode: time 2.304e-06/0.2333, allocations: 0 / 1.018 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of Templates: time 0.02483/0.2581, allocations: 20.02 MB / 1.038 GB, free: 10.61 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.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.238485811045393]