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.0009663/0.0009663, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001458/0.001458, allocations: 169 kB / 24.28 MB, free: 272 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 1.029/1.029, 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.841/1.841, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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 2.294e-06/2.294e-06, allocations: 0 / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.333e-05, allocations: 6.484 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1709/0.1709, allocations: 184.3 MB / 0.9671 GB, free: 3.898 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.1822, allocations: 13.44 MB / 0.9802 GB, free: 6.406 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007849/0.1829, allocations: 43.62 kB / 0.9802 GB, free: 6.363 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.184, allocations: 429 kB / 0.9807 GB, free: 5.941 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.186, allocations: 1.24 MB / 0.9819 GB, free: 4.695 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.1872, allocations: 0.7713 MB / 0.9826 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001601/0.1888, allocations: 2.054 MB / 0.9846 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000612/0.1895, allocations: 0.6296 MB / 0.9852 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002671/0.1921, allocations: 2.098 MB / 0.9873 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/0.1945, allocations: 0.6493 MB / 0.9879 GB, free: 14.48 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.1947, allocations: 80 kB / 0.988 GB, free: 14.4 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.1961, allocations: 0.7439 MB / 0.9887 GB, free: 13.66 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.1964, allocations: 422.8 kB / 0.9891 GB, free: 13.24 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.1968, allocations: 355.2 kB / 0.9895 GB, free: 12.89 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.1985, allocations: 1.129 MB / 0.9906 GB, free: 11.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1986, allocations: 0 / 0.9906 GB, free: 11.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1986, allocations: 0 / 0.9906 GB, free: 11.76 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.395e-05/0.1986, allocations: 4 kB / 0.9906 GB, free: 11.76 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001509/0.2001, allocations: 1.281 MB / 0.9918 GB, free: 10.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2001, allocations: 12.03 kB / 0.9918 GB, free: 10.42 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009059/0.201, allocations: 298.9 kB / 0.9921 GB, free: 10.13 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007774/0.2018, allocations: 0.6501 MB / 0.9928 GB, free: 9.441 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.2019, allocations: 58 kB / 0.9928 GB, free: 9.383 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.417e-05/0.2019, allocations: 80 kB / 0.9929 GB, free: 9.305 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008158/0.2028, allocations: 0.8579 MB / 0.9937 GB, free: 8.309 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.2028, allocations: 7.938 kB / 0.9937 GB, free: 8.301 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/0.2028, allocations: 35.98 kB / 0.9938 GB, free: 8.266 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/0.2029, allocations: 25.31 kB / 0.9938 GB, free: 8.238 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.2033, allocations: 307.3 kB / 0.9941 GB, free: 7.938 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.002846/0.2062, allocations: 4.645 MB / 0.9986 GB, free: 3.129 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.2066, allocations: 321.5 kB / 0.9989 GB, free: 2.777 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2068, allocations: 127 kB / 0.999 GB, free: 2.641 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.2069, allocations: 27.98 kB / 0.9991 GB, free: 2.613 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.2069, allocations: 45.33 kB / 0.9991 GB, free: 2.559 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 2.795e-06/0.2069, allocations: 0 / 0.9991 GB, free: 2.559 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.001858/0.2088, allocations: 1.118 MB / 1 GB, free: 1.398 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.2088, allocations: 118.7 kB / 1 GB, free: 1.258 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/0.2093, allocations: 0.5415 MB / 1.001 GB, free: 0.6992 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.2093, allocations: 37.7 kB / 1.001 GB, free: 0.6562 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.2095, allocations: 494.7 kB / 1.001 GB, free: 168 kB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.2097, allocations: 166.6 kB / 1.002 GB, free: 0 / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.2098, allocations: 127.9 kB / 1.002 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2099, allocations: 0.551 MB / 1.002 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.2101, allocations: 73.27 kB / 1.002 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.2104, allocations: 0.5341 MB / 1.003 GB, free: 14.53 MB / 0.9636 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.0007221/0.2111, allocations: 0.6201 MB / 1.003 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2111, allocations: 0 / 1.003 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007987/0.2119, allocations: 484 kB / 1.004 GB, free: 13.31 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2119, allocations: 8 kB / 1.004 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.2119, allocations: 4 kB / 1.004 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2119, allocations: 12 kB / 1.004 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.2122, allocations: 123.8 kB / 1.004 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.2123, allocations: 24.45 kB / 1.004 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.2125, allocations: 24 kB / 1.004 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.2125, allocations: 24 kB / 1.004 GB, free: 13.1 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: 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.0001831/0.2127, allocations: 204.4 kB / 1.004 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.635e-05/0.2128, allocations: 83.58 kB / 1.004 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.219e-05/0.2129, allocations: 70.25 kB / 1.004 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2129, allocations: 4 kB / 1.004 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2129, allocations: 7.938 kB / 1.004 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003643/0.2133, allocations: 0.5348 MB / 1.005 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.2146, allocations: 1.396 MB / 1.006 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.2146, allocations: 4 kB / 1.006 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.2148, allocations: 96.39 kB / 1.006 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.2148, allocations: 8 kB / 1.006 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.2149, allocations: 12 kB / 1.006 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.2149, allocations: 15.92 kB / 1.006 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.2149, allocations: 4 kB / 1.006 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.2155, allocations: 0.6719 MB / 1.007 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.2156, allocations: 107.5 kB / 1.007 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.2156, allocations: 23.98 kB / 1.007 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.2158, allocations: 16 kB / 1.007 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.2159, allocations: 43.81 kB / 1.007 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.2159, allocations: 16 kB / 1.007 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002471/0.2162, allocations: 346.8 kB / 1.008 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.2162, allocations: 0 / 1.008 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004764/0.2166, allocations: 203.9 kB / 1.008 GB, free: 8.965 MB / 0.9636 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.0003563/0.217, allocations: 186.5 kB / 1.008 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004105/0.2174, allocations: 300.4 kB / 1.008 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2174, allocations: 0 / 1.008 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.2175, allocations: 138.2 kB / 1.008 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.2184, allocations: 344.4 kB / 1.009 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.2202, allocations: 1.473 MB / 1.01 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.2206, allocations: 214.5 kB / 1.01 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000318/0.2209, allocations: 153.3 kB / 1.011 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.221, allocations: 56.5 kB / 1.011 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of SimCode: time 1.012e-06/0.221, allocations: 0 / 1.011 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of Templates: time 0.01351/0.2345, allocations: 12.06 MB / 1.022 GB, free: 10.29 MB / 0.9792 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.603574508801103]