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.001221/0.001221, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001698/0.001698, allocations: 161 kB / 24.17 MB, free: 324 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.9662/0.9662, allocations: 177.2 MB / 204.6 MB, free: 4.996 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.899/1.899, allocations: 377.9 MB / 0.624 GB, free: 8.348 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.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.493e-06/1.493e-06, allocations: 0 / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.396e-05, allocations: 10.25 kB / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1597/0.1598, allocations: 149 MB / 0.9056 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003709/0.1635, allocations: 3.287 MB / 0.9088 GB, free: 13.86 MB / 0.8699 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.1638, allocations: 47.62 kB / 0.9089 GB, free: 13.82 MB / 0.8699 GB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.1643, allocations: 246.1 kB / 0.9091 GB, free: 13.57 MB / 0.8699 GB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.1653, allocations: 0.8817 MB / 0.91 GB, free: 12.69 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007874/0.1661, allocations: 0.7015 MB / 0.9107 GB, free: 11.98 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.1677, allocations: 2.004 MB / 0.9126 GB, free: 9.977 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007857/0.1684, allocations: 0.6687 MB / 0.9133 GB, free: 9.293 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.1696, allocations: 1.113 MB / 0.9144 GB, free: 8.219 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004806/0.17, allocations: 0.5647 MB / 0.9149 GB, free: 7.652 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/0.1701, allocations: 80 kB / 0.915 GB, free: 7.574 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.1705, allocations: 387.1 kB / 0.9153 GB, free: 7.195 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.1708, allocations: 418.9 kB / 0.9157 GB, free: 6.785 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.171, allocations: 347.2 kB / 0.9161 GB, free: 6.445 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.0007802/0.1718, allocations: 0.9655 MB / 0.917 GB, free: 5.477 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1718, allocations: 0 / 0.917 GB, free: 5.477 MB / 0.8699 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1718, allocations: 0 / 0.917 GB, free: 5.477 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.1718, allocations: 0 / 0.917 GB, free: 5.477 MB / 0.8699 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.0009459/0.1728, allocations: 1.11 MB / 0.9181 GB, free: 4.34 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 2.485e-05/0.1728, allocations: 8.031 kB / 0.9181 GB, free: 4.332 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006508/0.1734, allocations: 264.5 kB / 0.9184 GB, free: 4.074 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.174, allocations: 0.5357 MB / 0.9189 GB, free: 3.508 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.1741, allocations: 62.12 kB / 0.9189 GB, free: 3.445 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.1741, allocations: 83.94 kB / 0.919 GB, free: 3.363 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/0.1747, allocations: 0.7796 MB / 0.9198 GB, free: 2.469 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.1748, allocations: 7.938 kB / 0.9198 GB, free: 2.461 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.1748, allocations: 32 kB / 0.9198 GB, free: 2.43 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.1748, allocations: 29.3 kB / 0.9199 GB, free: 2.402 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.1752, allocations: 256.1 kB / 0.9201 GB, free: 2.145 MB / 0.8699 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.002049/0.1772, allocations: 3.258 MB / 0.9233 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.1775, allocations: 382.2 kB / 0.9236 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1776, allocations: 111.7 kB / 0.9238 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-05/0.1777, allocations: 28.25 kB / 0.9238 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1777, allocations: 38.89 kB / 0.9238 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=42): time 1.643e-06/0.1777, allocations: 0 / 0.9238 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44): time 0.0009596/0.1787, allocations: 0.6523 MB / 0.9245 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.1787, allocations: 106.8 kB / 0.9246 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.179, allocations: 475 kB / 0.925 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.179, allocations: 37.7 kB / 0.925 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.1794, allocations: 373.2 kB / 0.9254 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.163e-05/0.1795, allocations: 170.5 kB / 0.9256 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1796, allocations: 118.2 kB / 0.9257 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.1797, allocations: 378.7 kB / 0.926 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.1798, allocations: 60.11 kB / 0.9261 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.18, allocations: 392.7 kB / 0.9265 GB, free: 11.22 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.1804, allocations: 0.4983 MB / 0.927 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1804, allocations: 4 kB / 0.927 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003409/0.1808, allocations: 349 kB / 0.9273 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1808, allocations: 8 kB / 0.9273 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1808, allocations: 8 kB / 0.9273 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1808, allocations: 8 kB / 0.9273 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.1811, allocations: 128.5 kB / 0.9274 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.1811, allocations: 19.92 kB / 0.9275 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.1813, allocations: 27.95 kB / 0.9275 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.1813, allocations: 20 kB / 0.9275 GB, free: 10.06 MB / 0.8855 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 (73): * Single equations (assignments): 73 * 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.0001362/0.1815, allocations: 156.4 kB / 0.9277 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.1815, allocations: 55.95 kB / 0.9277 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.072e-05/0.1816, allocations: 70.25 kB / 0.9278 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1816, allocations: 7.984 kB / 0.9278 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1816, allocations: 4 kB / 0.9278 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002402/0.1819, allocations: 471.5 kB / 0.9282 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/0.1828, allocations: 1.044 MB / 0.9293 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1828, allocations: 4.5 kB / 0.9293 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.1831, allocations: 118.6 kB / 0.9294 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1831, allocations: 8 kB / 0.9294 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.1832, allocations: 19.98 kB / 0.9294 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1832, allocations: 7.938 kB / 0.9294 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1832, allocations: 4 kB / 0.9294 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.1836, allocations: 0.5421 MB / 0.9299 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.1837, allocations: 103.5 kB / 0.93 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.1837, allocations: 8 kB / 0.93 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1839, allocations: 16 kB / 0.9301 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.1839, allocations: 39.88 kB / 0.9301 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.184, allocations: 12 kB / 0.9301 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001397/0.1841, allocations: 208.5 kB / 0.9303 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1841, allocations: 3.938 kB / 0.9303 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003799/0.1845, allocations: 203.9 kB / 0.9305 GB, free: 6.715 MB / 0.8855 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 (44): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002844/0.1848, allocations: 165.7 kB / 0.9307 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.185, allocations: 251.4 kB / 0.9309 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/0.1851, allocations: 12 kB / 0.9309 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.1852, allocations: 112.5 kB / 0.931 GB, free: 6.188 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/0.1859, allocations: 351.2 kB / 0.9314 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1875, allocations: 1.392 MB / 0.9327 GB, free: 4.375 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.1877, allocations: 210.3 kB / 0.9329 GB, free: 4.148 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002274/0.1879, allocations: 101.4 kB / 0.933 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.1884, allocations: 279 kB / 0.9333 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of SimCode: time 8.21e-07/0.1884, allocations: 0 / 0.9333 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of Templates: time 0.01463/0.203, allocations: 12.91 MB / 0.9459 GB, free: 7.23 MB / 0.9011 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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: 5.485303306952119]