Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001135/0.001135, 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.00121/0.00121, allocations: 169 kB / 24.28 MB, free: 276 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.9945/0.9945, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.926/1.926, allocations: 377.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0.5469 kB / 0.8115 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.966e-05, allocations: 6.25 kB / 0.8115 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1657/0.1657, allocations: 184.3 MB / 0.9916 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.1783, allocations: 13.44 MB / 1.005 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.1794, allocations: 47.62 kB / 1.005 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.1807, allocations: 425.1 kB / 1.005 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.1833, allocations: 1.232 MB / 1.006 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.185, allocations: 0.7752 MB / 1.007 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002488/0.1875, allocations: 2.043 MB / 1.009 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009698/0.1885, allocations: 0.6374 MB / 1.01 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/0.1929, allocations: 2.238 MB / 1.012 GB, free: 3.086 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.1944, allocations: 0.6224 MB / 1.013 GB, free: 2.48 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.1945, allocations: 80 kB / 1.013 GB, free: 2.402 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.1961, allocations: 0.74 MB / 1.013 GB, free: 1.66 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.1965, allocations: 418.8 kB / 1.014 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.197, allocations: 359.2 kB / 1.014 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.199, allocations: 1.129 MB / 1.015 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1991, allocations: 0 / 1.015 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1991, allocations: 0 / 1.015 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.258e-05/0.1991, allocations: 0 / 1.015 GB, free: 15.77 MB / 0.9323 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.001735/0.2008, allocations: 1.285 MB / 1.016 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2009, allocations: 12.03 kB / 1.016 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.202, allocations: 298.9 kB / 1.017 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/0.203, allocations: 0.6463 MB / 1.017 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.2031, allocations: 54 kB / 1.017 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.2032, allocations: 87.95 kB / 1.017 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009999/0.2042, allocations: 0.8656 MB / 1.018 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.2042, allocations: 3.938 kB / 1.018 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.2042, allocations: 28 kB / 1.018 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.274e-05/0.2043, allocations: 33.31 kB / 1.018 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/0.2049, allocations: 307.3 kB / 1.019 GB, free: 11.95 MB / 0.9323 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.00337/0.2082, allocations: 4.634 MB / 1.023 GB, free: 7.148 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.2088, allocations: 323.2 kB / 1.024 GB, free: 6.797 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.209, allocations: 130.9 kB / 1.024 GB, free: 6.656 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.2091, allocations: 31.98 kB / 1.024 GB, free: 6.625 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.2091, allocations: 45.33 kB / 1.024 GB, free: 6.57 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=43): time 3.156e-06/0.2091, allocations: 0 / 1.024 GB, free: 6.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45): time 0.00203/0.2112, allocations: 1.134 MB / 1.025 GB, free: 5.398 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.2112, allocations: 110.8 kB / 1.025 GB, free: 5.266 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.2118, allocations: 0.5376 MB / 1.025 GB, free: 4.715 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.2118, allocations: 37.95 kB / 1.025 GB, free: 4.672 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.2121, allocations: 498.7 kB / 1.026 GB, free: 4.18 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.2122, allocations: 166.6 kB / 1.026 GB, free: 4.016 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.2124, allocations: 127.9 kB / 1.026 GB, free: 3.879 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.2126, allocations: 0.5508 MB / 1.027 GB, free: 3.316 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.2127, allocations: 69.27 kB / 1.027 GB, free: 3.25 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.2131, allocations: 0.5302 MB / 1.027 GB, free: 2.551 MB / 0.9323 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.000873/0.214, allocations: 0.6169 MB / 1.028 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.214, allocations: 0 / 1.028 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007021/0.2147, allocations: 480.8 kB / 1.028 GB, free: 1.34 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.2147, allocations: 8 kB / 1.028 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2147, allocations: 8.031 kB / 1.028 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.2148, allocations: 12 kB / 1.028 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.2151, allocations: 123.8 kB / 1.029 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.2151, allocations: 19.92 kB / 1.029 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.2154, allocations: 18.23 kB / 1.029 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.2155, allocations: 35.94 kB / 1.029 GB, free: 1.121 MB / 0.9323 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.0002126/0.2157, allocations: 200.4 kB / 1.029 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.2158, allocations: 83.58 kB / 1.029 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.216, allocations: 70.25 kB / 1.029 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.216, allocations: 8 kB / 1.029 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.216, allocations: 7.938 kB / 1.029 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004663/0.2164, allocations: 0.5362 MB / 1.03 GB, free: 124 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4547/0.6712, allocations: 1.382 MB / 1.031 GB, free: 38.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.6712, allocations: 5.812 kB / 1.031 GB, free: 38.07 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.6715, allocations: 104.4 kB / 1.031 GB, free: 38.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.6715, allocations: 5.656 kB / 1.031 GB, free: 38.07 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.6716, allocations: 17.62 kB / 1.031 GB, free: 38.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/0.6716, allocations: 10.8 kB / 1.031 GB, free: 38.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.6716, allocations: 5.781 kB / 1.031 GB, free: 38.07 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009179/0.6725, allocations: 0.6726 MB / 1.032 GB, free: 37.68 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.6727, allocations: 114.7 kB / 1.032 GB, free: 37.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.6728, allocations: 12.11 kB / 1.032 GB, free: 37.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.6731, allocations: 18.89 kB / 1.032 GB, free: 37.68 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.6731, allocations: 42.47 kB / 1.032 GB, free: 37.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.6732, allocations: 20.12 kB / 1.032 GB, free: 37.68 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003769/0.6736, allocations: 348.2 kB / 1.032 GB, free: 37.55 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.6736, allocations: 0 / 1.032 GB, free: 37.55 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007126/0.6743, allocations: 202.9 kB / 1.032 GB, free: 37.55 MB / 0.9323 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.0004677/0.6747, allocations: 186.5 kB / 1.033 GB, free: 37.46 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005877/0.6753, allocations: 294.5 kB / 1.033 GB, free: 37.45 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6753, allocations: 1.781 kB / 1.033 GB, free: 37.45 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.6755, allocations: 140.8 kB / 1.033 GB, free: 37.44 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.6766, allocations: 333.5 kB / 1.033 GB, free: 37.42 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.6791, allocations: 1.484 MB / 1.035 GB, free: 36.64 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.6793, allocations: 210.1 kB / 1.035 GB, free: 36.56 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000484/0.6797, allocations: 152.6 kB / 1.035 GB, free: 36.55 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.6799, allocations: 53.8 kB / 1.035 GB, free: 36.54 MB / 0.9323 GB Notification: Performance of SimCode: time 2.094e-06/0.6799, allocations: 0.8125 kB / 1.035 GB, free: 36.54 MB / 0.9323 GB Notification: Performance of Templates: time 0.02183/0.7017, allocations: 12.07 MB / 1.047 GB, free: 35.61 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.2081239079125226]