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.00108/0.00108, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001657/0.002737, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001087/0.001087, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001494/0.002581, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.9938/0.9938, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09276/1.087, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.875/1.875, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4964/2.371, allocations: 123.3 MB / 0.7283 GB, free: 5.719 MB / 0.698 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.343e-06/1.343e-06, allocations: 0 / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.507e-05, allocations: 4.281 kB / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1601/0.1601, allocations: 149.5 MB / 0.8757 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006759/0.1669, allocations: 3.309 MB / 0.8789 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.1683, allocations: 43.62 kB / 0.8789 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009169/0.1692, allocations: 254.1 kB / 0.8792 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.1717, allocations: 0.8818 MB / 0.88 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.1735, allocations: 0.6937 MB / 0.8807 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002866/0.1764, allocations: 2.002 MB / 0.8827 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.178, allocations: 0.6633 MB / 0.8833 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/0.1802, allocations: 1.163 MB / 0.8844 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007143/0.1809, allocations: 0.5569 MB / 0.885 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.517e-05/0.181, allocations: 80 kB / 0.8851 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000785/0.1818, allocations: 391.1 kB / 0.8854 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.1821, allocations: 371 kB / 0.8858 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.1824, allocations: 291.4 kB / 0.8861 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.1834, allocations: 0.8798 MB / 0.8869 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.475e-05/0.1834, allocations: 3.984 kB / 0.8869 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1834, allocations: 0 / 0.8869 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.1835, allocations: 4 kB / 0.8869 GB, free: 3.02 MB / 0.8542 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.001232/0.1847, allocations: 1.321 MB / 0.8882 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.1847, allocations: 12.03 kB / 0.8882 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007715/0.1855, allocations: 333.5 kB / 0.8886 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.1862, allocations: 0.5473 MB / 0.8891 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.1862, allocations: 66.12 kB / 0.8892 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.65e-05/0.1863, allocations: 79.95 kB / 0.8892 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.1869, allocations: 0.7686 MB / 0.89 GB, free: 15.71 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.1869, allocations: 3.938 kB / 0.89 GB, free: 15.7 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.187, allocations: 35.98 kB / 0.89 GB, free: 15.67 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.187, allocations: 37.3 kB / 0.8901 GB, free: 15.63 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.1873, allocations: 252.1 kB / 0.8903 GB, free: 15.38 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.002136/0.1894, allocations: 3.273 MB / 0.8935 GB, free: 11.98 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.1898, allocations: 398.4 kB / 0.8939 GB, free: 11.56 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1899, allocations: 103.7 kB / 0.894 GB, free: 11.45 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 9.657e-05/0.19, allocations: 32.31 kB / 0.894 GB, free: 11.42 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.19, allocations: 42.83 kB / 0.894 GB, free: 11.37 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=42): time 2.886e-06/0.19, allocations: 0 / 0.894 GB, free: 11.37 MB / 0.8699 GB Notification: Performance of matching and sorting (n=44): time 0.001193/0.1912, allocations: 0.6639 MB / 0.8947 GB, free: 10.67 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1912, allocations: 106.8 kB / 0.8948 GB, free: 10.54 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.1915, allocations: 475 kB / 0.8952 GB, free: 10.07 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.1915, allocations: 37.7 kB / 0.8953 GB, free: 10.03 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.1917, allocations: 377.2 kB / 0.8956 GB, free: 9.652 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 7.773e-05/0.1917, allocations: 166.6 kB / 0.8958 GB, free: 9.488 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1918, allocations: 114.2 kB / 0.8959 GB, free: 9.371 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.1919, allocations: 378.6 kB / 0.8963 GB, free: 8.992 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.211e-05/0.192, allocations: 56.06 kB / 0.8963 GB, free: 8.934 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.1922, allocations: 396.7 kB / 0.8967 GB, free: 8.426 MB / 0.8699 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.0004725/0.1927, allocations: 0.5129 MB / 0.8972 GB, free: 7.82 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1927, allocations: 4 kB / 0.8972 GB, free: 7.816 MB / 0.8699 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003369/0.193, allocations: 354.3 kB / 0.8975 GB, free: 7.461 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.193, allocations: 8 kB / 0.8975 GB, free: 7.453 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.1931, allocations: 8.062 kB / 0.8976 GB, free: 7.445 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1931, allocations: 12 kB / 0.8976 GB, free: 7.434 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.1934, allocations: 139.8 kB / 0.8977 GB, free: 7.297 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1934, allocations: 15.94 kB / 0.8977 GB, free: 7.281 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.1936, allocations: 24.3 kB / 0.8977 GB, free: 7.258 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.1936, allocations: 31.98 kB / 0.8978 GB, free: 7.227 MB / 0.8699 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.0001578/0.1938, allocations: 156.5 kB / 0.8979 GB, free: 7.062 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.1938, allocations: 59.92 kB / 0.898 GB, free: 7.004 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.707e-05/0.1939, allocations: 74.25 kB / 0.898 GB, free: 6.93 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1939, allocations: 4 kB / 0.8981 GB, free: 6.926 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1939, allocations: 0 / 0.8981 GB, free: 6.926 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002437/0.1942, allocations: 487.5 kB / 0.8985 GB, free: 6.363 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009824/0.1952, allocations: 1.04 MB / 0.8995 GB, free: 5.234 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1952, allocations: 4 kB / 0.8995 GB, free: 5.23 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.1954, allocations: 119.1 kB / 0.8996 GB, free: 5.113 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1955, allocations: 95.53 kB / 0.8997 GB, free: 5.02 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.1956, allocations: 4 kB / 0.8997 GB, free: 5.016 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1956, allocations: 19.98 kB / 0.8998 GB, free: 4.996 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.1956, allocations: 11.94 kB / 0.8998 GB, free: 4.984 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1956, allocations: 4 kB / 0.8998 GB, free: 4.98 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.196, allocations: 0.5343 MB / 0.9003 GB, free: 4.367 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.196, allocations: 15.92 kB / 0.9003 GB, free: 4.352 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1962, allocations: 22.41 kB / 0.9003 GB, free: 4.332 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.1963, allocations: 39.88 kB / 0.9004 GB, free: 4.293 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.1963, allocations: 12 kB / 0.9004 GB, free: 4.281 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 0.0001457/0.1964, allocations: 208.3 kB / 0.9006 GB, free: 4.078 MB / 0.8699 GB Notification: Performance of sort global known variables: time 5e-08/0.1964, allocations: 0 / 0.9006 GB, free: 4.078 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0004549/0.1969, allocations: 203.9 kB / 0.9008 GB, free: 3.879 MB / 0.8699 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.0003736/0.1972, allocations: 150.9 kB / 0.9009 GB, free: 3.734 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.1976, allocations: 260.2 kB / 0.9012 GB, free: 3.48 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 1.661e-05/0.1976, allocations: 12.38 kB / 0.9012 GB, free: 3.469 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.1978, allocations: 226.1 kB / 0.9014 GB, free: 3.234 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.1991, allocations: 2.164 MB / 0.9035 GB, free: 0.6719 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.203, allocations: 1.471 MB / 0.9049 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.2032, allocations: 202.4 kB / 0.9051 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000345/0.2035, allocations: 97.42 kB / 0.9052 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.204, allocations: 275 kB / 0.9055 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of SimCode: time 1.513e-06/0.204, allocations: 0 / 0.9055 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of Templates: time 0.01608/0.22, allocations: 13.39 MB / 0.9186 GB, free: 1.48 MB / 0.8855 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.386563071981072]