Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001118/0.001118, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001838/0.001838, allocations: 161 kB / 23.82 MB, free: 0.75 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.004/1.004, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.911/1.911, allocations: 359 MB / 0.6052 GB, free: 11.01 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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.781e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1637/0.1637, allocations: 149.6 MB / 0.9332 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.004916/0.1686, allocations: 3.234 MB / 0.9364 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006663/0.1693, allocations: 43.62 kB / 0.9364 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007627/0.17, allocations: 246.2 kB / 0.9367 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.1714, allocations: 0.8973 MB / 0.9375 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1726, allocations: 0.7054 MB / 0.9382 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002184/0.1748, allocations: 2.015 MB / 0.9402 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008586/0.1756, allocations: 0.6335 MB / 0.9408 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.1769, allocations: 0.9857 MB / 0.9418 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.1781, allocations: 0.6446 MB / 0.9424 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.1782, allocations: 80 kB / 0.9425 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008275/0.179, allocations: 470.8 kB / 0.9429 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003137/0.1793, allocations: 430.8 kB / 0.9433 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.1797, allocations: 351.2 kB / 0.9437 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.181, allocations: 0.985 MB / 0.9446 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.181, allocations: 4 kB / 0.9446 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.573e-06/0.181, allocations: 0 / 0.9446 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.25e-05/0.181, allocations: 0 / 0.9446 GB, free: 10.63 MB / 0.9011 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.00141/0.1824, allocations: 1.27 MB / 0.9459 GB, free: 9.32 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1825, allocations: 12.03 kB / 0.9459 GB, free: 9.309 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008171/0.1833, allocations: 295.8 kB / 0.9462 GB, free: 9.02 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008235/0.1841, allocations: 0.647 MB / 0.9468 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.1841, allocations: 65.92 kB / 0.9469 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.845e-05/0.1842, allocations: 79.98 kB / 0.947 GB, free: 8.203 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008439/0.1851, allocations: 0.8579 MB / 0.9478 GB, free: 7.203 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.1851, allocations: 3.938 kB / 0.9478 GB, free: 7.199 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.1851, allocations: 36 kB / 0.9478 GB, free: 7.164 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.1852, allocations: 29.31 kB / 0.9479 GB, free: 7.137 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005442/0.1857, allocations: 307.3 kB / 0.9481 GB, free: 6.836 MB / 0.9011 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.002968/0.1887, allocations: 4.645 MB / 0.9527 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.1892, allocations: 323.4 kB / 0.953 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.1893, allocations: 129.4 kB / 0.9531 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.1894, allocations: 23.98 kB / 0.9531 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003483/0.1898, allocations: 45.39 kB / 0.9532 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=43): time 2.444e-06/0.1898, allocations: 0 / 0.9532 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of matching and sorting (n=45): time 0.001642/0.1914, allocations: 1.122 MB / 0.9543 GB, free: 296 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.1915, allocations: 110.8 kB / 0.9544 GB, free: 160 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.1919, allocations: 0.5492 MB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.1919, allocations: 37.7 kB / 0.955 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.1922, allocations: 487 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-05/0.1923, allocations: 174.5 kB / 0.9556 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.1924, allocations: 127.9 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1926, allocations: 0.5508 MB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1927, allocations: 69.27 kB / 0.9563 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.193, allocations: 0.5302 MB / 0.9568 GB, free: 13.43 MB / 0.9167 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.0007039/0.1937, allocations: 0.6162 MB / 0.9574 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1937, allocations: 0 / 0.9574 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005554/0.1943, allocations: 483.8 kB / 0.9579 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1943, allocations: 8.781 kB / 0.9579 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1943, allocations: 4 kB / 0.9579 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.1943, allocations: 16 kB / 0.9579 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.1946, allocations: 127.8 kB / 0.958 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.1946, allocations: 15.98 kB / 0.9581 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.1949, allocations: 20 kB / 0.9581 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.1949, allocations: 24 kB / 0.9581 GB, free: 12.01 MB / 0.9167 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.0001806/0.1951, allocations: 212.2 kB / 0.9583 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1952, allocations: 79.58 kB / 0.9584 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.1953, allocations: 74.25 kB / 0.9585 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1953, allocations: 4 kB / 0.9585 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1953, allocations: 8 kB / 0.9585 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003839/0.1957, allocations: 0.5348 MB / 0.959 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.1973, allocations: 1.396 MB / 0.9603 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1973, allocations: 4 kB / 0.9604 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.1976, allocations: 99.83 kB / 0.9604 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1976, allocations: 8 kB / 0.9605 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.1976, allocations: 11.98 kB / 0.9605 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.1976, allocations: 8 kB / 0.9605 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.1976, allocations: 15.98 kB / 0.9605 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.1982, allocations: 0.6681 MB / 0.9611 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.1984, allocations: 119.4 kB / 0.9613 GB, free: 8.484 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.1984, allocations: 12 kB / 0.9613 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.1986, allocations: 16 kB / 0.9613 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.1987, allocations: 43.81 kB / 0.9613 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.1987, allocations: 16 kB / 0.9613 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002649/0.199, allocations: 346.8 kB / 0.9617 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.199, allocations: 0 / 0.9617 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004901/0.1995, allocations: 200 kB / 0.9619 GB, free: 7.867 MB / 0.9167 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.0003686/0.1998, allocations: 174.5 kB / 0.962 GB, free: 7.695 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004405/0.2003, allocations: 290 kB / 0.9623 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2003, allocations: 4 kB / 0.9623 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.2004, allocations: 139.8 kB / 0.9624 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000889/0.2013, allocations: 341.7 kB / 0.9628 GB, free: 6.941 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.2032, allocations: 1.473 MB / 0.9642 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.2034, allocations: 210.5 kB / 0.9644 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003373/0.2037, allocations: 153.3 kB / 0.9646 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.2038, allocations: 52.5 kB / 0.9646 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of SimCode: time 8.72e-07/0.2038, allocations: 0 / 0.9646 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of Templates: time 0.01557/0.2194, allocations: 11.88 MB / 0.9762 GB, free: 9.379 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.866528626997024]