Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.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.0008405/0.0008405, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001001/0.001001, allocations: 165 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 0.9826/0.9826, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.821/1.821, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.[0-9,]+.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.[0-9,]+.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.144e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1802/0.1802, allocations: 152 MB / 0.96 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005527/0.1857, allocations: 4.121 MB / 0.964 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004971/0.1862, allocations: 51.56 kB / 0.9641 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007543/0.187, allocations: 289.9 kB / 0.9643 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.189, allocations: 1.278 MB / 0.9656 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.1903, allocations: 0.7948 MB / 0.9664 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002284/0.1926, allocations: 2.584 MB / 0.9689 GB, free: 68 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.1936, allocations: 0.8265 MB / 0.9697 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.1958, allocations: 1.556 MB / 0.9712 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000962/0.1968, allocations: 0.8376 MB / 0.972 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.197, allocations: 104 kB / 0.9721 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006439/0.1976, allocations: 431 kB / 0.9726 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.1979, allocations: 0.5455 MB / 0.9731 GB, free: 11.83 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.1983, allocations: 458.9 kB / 0.9735 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.1995, allocations: 1.215 MB / 0.9747 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1995, allocations: 0 / 0.9747 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1995, allocations: 0 / 0.9747 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.324e-05/0.1995, allocations: 0 / 0.9747 GB, free: 10.16 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001486/0.201, allocations: 1.48 MB / 0.9762 GB, free: 8.637 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.201, allocations: 8.031 kB / 0.9762 GB, free: 8.629 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007823/0.2018, allocations: 347.2 kB / 0.9765 GB, free: 8.289 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/0.2026, allocations: 0.7346 MB / 0.9772 GB, free: 7.523 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.2027, allocations: 74 kB / 0.9773 GB, free: 7.449 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.2028, allocations: 96 kB / 0.9774 GB, free: 7.355 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00093/0.2038, allocations: 0.9658 MB / 0.9783 GB, free: 6.266 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.2038, allocations: 3.938 kB / 0.9783 GB, free: 6.262 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/0.2038, allocations: 43.98 kB / 0.9784 GB, free: 6.219 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.2039, allocations: 30 kB / 0.9784 GB, free: 6.188 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005655/0.2044, allocations: 379.4 kB / 0.9788 GB, free: 5.816 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.003314/0.2078, allocations: 4.695 MB / 0.9833 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.2082, allocations: 281.6 kB / 0.9836 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.2084, allocations: 146.8 kB / 0.9837 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.2086, allocations: 60.42 kB / 0.9838 GB, free: 488 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.2086, allocations: 45.83 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=49): time 1.803e-06/0.2086, allocations: 0 / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of matching and sorting (n=49): time 0.000708/0.2093, allocations: 460.5 kB / 0.9843 GB, free: 15.97 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.2093, allocations: 59.91 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.2098, allocations: 0.6555 MB / 0.985 GB, free: 15.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.2098, allocations: 41.64 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.2101, allocations: 0.5806 MB / 0.9856 GB, free: 14.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.2102, allocations: 194.4 kB / 0.9858 GB, free: 14.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.2104, allocations: 152.2 kB / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2105, allocations: 0.5664 MB / 0.9865 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2107, allocations: 89.94 kB / 0.9866 GB, free: 13.58 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.2111, allocations: 0.7962 MB / 0.9873 GB, free: 12.53 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/0.2116, allocations: 0.5914 MB / 0.9879 GB, free: 11.79 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2117, allocations: 4 kB / 0.9879 GB, free: 11.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006862/0.2123, allocations: 0.5707 MB / 0.9885 GB, free: 11.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2124, allocations: 8 kB / 0.9885 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2124, allocations: 12.84 kB / 0.9885 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.2124, allocations: 12 kB / 0.9885 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.2127, allocations: 151.8 kB / 0.9887 GB, free: 11.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.2127, allocations: 19.92 kB / 0.9887 GB, free: 11.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.213, allocations: 76.19 kB / 0.9887 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.2131, allocations: 35.98 kB / 0.9888 GB, free: 10.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001723/0.2132, allocations: 212.3 kB / 0.989 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.682e-05/0.2133, allocations: 91.48 kB / 0.9891 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.2138, allocations: 381.6 kB / 0.9894 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2138, allocations: 12 kB / 0.9894 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2138, allocations: 0 / 0.9894 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003207/0.2141, allocations: 291.2 kB / 0.9897 GB, free: 9.898 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.2154, allocations: 1.213 MB / 0.9909 GB, free: 8.613 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2154, allocations: 4 kB / 0.9909 GB, free: 8.609 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.2157, allocations: 112.1 kB / 0.991 GB, free: 8.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2157, allocations: 4 kB / 0.991 GB, free: 8.496 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.2157, allocations: 16 kB / 0.991 GB, free: 8.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2157, allocations: 4 kB / 0.991 GB, free: 8.477 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.2157, allocations: 11.86 kB / 0.991 GB, free: 8.465 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.2164, allocations: 0.6585 MB / 0.9917 GB, free: 7.758 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.2165, allocations: 139.3 kB / 0.9918 GB, free: 7.621 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.2166, allocations: 12 kB / 0.9918 GB, free: 7.609 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.2168, allocations: 15.98 kB / 0.9919 GB, free: 7.594 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.2168, allocations: 39.88 kB / 0.9919 GB, free: 7.555 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.2169, allocations: 20 kB / 0.9919 GB, free: 7.535 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003089/0.2172, allocations: 407 kB / 0.9923 GB, free: 7.141 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.2172, allocations: 0 / 0.9923 GB, free: 7.141 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005127/0.2177, allocations: 315.3 kB / 0.9926 GB, free: 6.832 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.0003519/0.218, allocations: 174.1 kB / 0.9928 GB, free: 6.664 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.2185, allocations: 368.7 kB / 0.9931 GB, free: 6.305 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2185, allocations: 0.6875 kB / 0.9931 GB, free: 6.305 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.2187, allocations: 160.8 kB / 0.9933 GB, free: 6.145 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000986/0.2197, allocations: 383.4 kB / 0.9936 GB, free: 5.777 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.2218, allocations: 1.652 MB / 0.9952 GB, free: 4.055 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.2219, allocations: 254.9 kB / 0.9955 GB, free: 3.785 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004113/0.2223, allocations: 214.5 kB / 0.9957 GB, free: 3.57 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.2224, allocations: 68.48 kB / 0.9958 GB, free: 3.504 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/0.2224, allocations: 4 kB / 0.9958 GB, free: 3.5 MB / 0.948 GB Notification: Performance of Templates: time 0.01678/0.2392, allocations: 15.09 MB / 1.01 GB, free: 4.793 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.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.608925439417362]