Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.0009817/0.0009817, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.002124/0.002124, allocations: 169.3 kB / 23.02 MB, free: 1.551 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 1.054/1.054, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.18/2.18, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.412e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1861/0.1861, allocations: 149.7 MB / 1.024 GB, free: 76 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00456/0.1907, allocations: 3.222 MB / 1.027 GB, free: 12.85 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.1911, allocations: 43.62 kB / 1.028 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007915/0.1918, allocations: 250.2 kB / 1.028 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.1931, allocations: 0.8857 MB / 1.029 GB, free: 11.67 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008891/0.194, allocations: 0.6976 MB / 1.029 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.1956, allocations: 2 MB / 1.031 GB, free: 8.961 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007093/0.1963, allocations: 0.6074 MB / 1.032 GB, free: 8.336 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000951/0.1972, allocations: 0.9857 MB / 1.033 GB, free: 7.348 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008825/0.1981, allocations: 0.6225 MB / 1.033 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 9.672e-05/0.1982, allocations: 80 kB / 1.034 GB, free: 6.66 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005708/0.1988, allocations: 482.8 kB / 1.034 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002783/0.199, allocations: 414.8 kB / 1.034 GB, free: 5.781 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.1993, allocations: 359.2 kB / 1.035 GB, free: 5.43 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.2004, allocations: 0.9811 MB / 1.036 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2004, allocations: 0 / 1.036 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2004, allocations: 0 / 1.036 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.2004, allocations: 4 kB / 1.036 GB, free: 4.441 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001251/0.2017, allocations: 1.258 MB / 1.037 GB, free: 3.141 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2017, allocations: 8.031 kB / 1.037 GB, free: 3.133 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000766/0.2025, allocations: 299.8 kB / 1.037 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000737/0.2032, allocations: 0.6393 MB / 1.038 GB, free: 2.172 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.2033, allocations: 61.94 kB / 1.038 GB, free: 2.109 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.654e-05/0.2033, allocations: 83.89 kB / 1.038 GB, free: 2.027 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.2041, allocations: 0.8617 MB / 1.039 GB, free: 1.023 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.2041, allocations: 7.938 kB / 1.039 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.2042, allocations: 32 kB / 1.039 GB, free: 0.9844 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/0.2042, allocations: 25.31 kB / 1.039 GB, free: 0.9609 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.2047, allocations: 311.3 kB / 1.039 GB, free: 0.6562 MB / 0.9948 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.00273/0.2074, allocations: 4.63 MB / 1.044 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.2078, allocations: 326.8 kB / 1.044 GB, free: 11.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.208, allocations: 135.5 kB / 1.044 GB, free: 11.36 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.2081, allocations: 23.98 kB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.2081, allocations: 49.11 kB / 1.044 GB, free: 11.28 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 1.964e-06/0.2081, allocations: 0 / 1.044 GB, free: 11.28 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.001604/0.2097, allocations: 1.12 MB / 1.045 GB, free: 10.12 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.2098, allocations: 110.8 kB / 1.045 GB, free: 9.984 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.2102, allocations: 0.5415 MB / 1.046 GB, free: 9.43 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.2102, allocations: 37.7 kB / 1.046 GB, free: 9.387 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.2104, allocations: 486.8 kB / 1.046 GB, free: 8.902 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2106, allocations: 174.5 kB / 1.047 GB, free: 8.73 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.2107, allocations: 124 kB / 1.047 GB, free: 8.598 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2108, allocations: 0.5508 MB / 1.047 GB, free: 8.035 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2109, allocations: 73.33 kB / 1.047 GB, free: 7.965 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.2113, allocations: 0.5341 MB / 1.048 GB, free: 7.262 MB / 1.01 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/0.2119, allocations: 0.6106 MB / 1.048 GB, free: 6.535 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2119, allocations: 0 / 1.048 GB, free: 6.535 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006089/0.2125, allocations: 480.3 kB / 1.049 GB, free: 6.059 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.2125, allocations: 8 kB / 1.049 GB, free: 6.051 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2125, allocations: 7.938 kB / 1.049 GB, free: 6.043 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.2126, allocations: 12 kB / 1.049 GB, free: 6.031 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.2128, allocations: 127.8 kB / 1.049 GB, free: 5.906 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.2128, allocations: 16.53 kB / 1.049 GB, free: 5.891 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.2131, allocations: 31.98 kB / 1.049 GB, free: 5.859 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.2131, allocations: 28.06 kB / 1.049 GB, free: 5.832 MB / 1.01 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.2133, allocations: 202.4 kB / 1.049 GB, free: 5.625 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-05/0.2134, allocations: 83.58 kB / 1.049 GB, free: 5.543 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.852e-05/0.2135, allocations: 74.09 kB / 1.049 GB, free: 5.473 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.2135, allocations: 8 kB / 1.049 GB, free: 5.465 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2135, allocations: 3.984 kB / 1.049 GB, free: 5.461 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003786/0.2138, allocations: 0.5437 MB / 1.05 GB, free: 4.832 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.2157, allocations: 1.394 MB / 1.051 GB, free: 3.328 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2157, allocations: 4.5 kB / 1.051 GB, free: 3.324 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.2159, allocations: 99.89 kB / 1.051 GB, free: 3.227 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.2159, allocations: 8 kB / 1.051 GB, free: 3.219 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.216, allocations: 16 kB / 1.051 GB, free: 3.203 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.216, allocations: 7.938 kB / 1.051 GB, free: 3.195 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.216, allocations: 4 kB / 1.051 GB, free: 3.191 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.2166, allocations: 0.6722 MB / 1.052 GB, free: 2.434 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.2167, allocations: 107.5 kB / 1.052 GB, free: 2.328 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.2168, allocations: 23.98 kB / 1.052 GB, free: 2.305 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.217, allocations: 16 kB / 1.052 GB, free: 2.289 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.217, allocations: 43.81 kB / 1.052 GB, free: 2.246 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.217, allocations: 20 kB / 1.052 GB, free: 2.227 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002419/0.2173, allocations: 342.8 kB / 1.053 GB, free: 1.895 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.2173, allocations: 0 / 1.053 GB, free: 1.895 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004323/0.2177, allocations: 200 kB / 1.053 GB, free: 1.699 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000384/0.2181, allocations: 187.9 kB / 1.053 GB, free: 1.512 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.2185, allocations: 302.1 kB / 1.053 GB, free: 1.215 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2185, allocations: 11.94 kB / 1.053 GB, free: 1.203 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.2187, allocations: 131.4 kB / 1.053 GB, free: 1.07 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000988/0.2196, allocations: 333.5 kB / 1.054 GB, free: 0.7578 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.463/0.6826, allocations: 1.466 MB / 1.055 GB, free: 77.81 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.6828, allocations: 211.7 kB / 1.055 GB, free: 77.73 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00056/0.6834, allocations: 141.5 kB / 1.056 GB, free: 77.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.6835, allocations: 55.28 kB / 1.056 GB, free: 77.73 MB / 1.01 GB Notification: Performance of SimCode: time 1.884e-06/0.6835, allocations: 1 kB / 1.056 GB, free: 77.73 MB / 1.01 GB Notification: Performance of Templates: time 0.0161/0.6996, allocations: 11.82 MB / 1.067 GB, free: 76.99 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.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.608595864847302]