Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001049/0.001049, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001009/0.001009, allocations: 169 kB / 24.28 MB, free: 276 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.991/0.991, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.781/1.781, allocations: 359 MB / 0.6055 GB, free: 11 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.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_11_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_11_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.309e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1781/0.1781, allocations: 192.3 MB / 0.9749 GB, free: 11.83 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.1929, allocations: 14.65 MB / 0.9892 GB, free: 13.13 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.1942, allocations: 51.56 kB / 0.9893 GB, free: 13.08 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.1955, allocations: 0.4928 MB / 0.9898 GB, free: 12.59 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.1994, allocations: 2.005 MB / 0.9917 GB, free: 10.57 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.2014, allocations: 0.9347 MB / 0.9926 GB, free: 9.633 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.003031/0.2045, allocations: 2.627 MB / 0.9952 GB, free: 6.996 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.2058, allocations: 0.8266 MB / 0.996 GB, free: 6.145 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00355/0.2094, allocations: 2.025 MB / 0.998 GB, free: 4.172 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.2107, allocations: 0.9025 MB / 0.9989 GB, free: 3.273 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.2109, allocations: 108 kB / 0.999 GB, free: 3.168 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.2125, allocations: 0.9502 MB / 0.9999 GB, free: 2.215 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004091/0.2129, allocations: 0.5493 MB / 1 GB, free: 1.664 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005188/0.2134, allocations: 463 kB / 1.001 GB, free: 1.211 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.2155, allocations: 1.433 MB / 1.002 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2155, allocations: 0 / 1.002 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2155, allocations: 0 / 1.002 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.126e-05/0.2155, allocations: 0 / 1.002 GB, free: 15.77 MB / 0.9636 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.001976/0.2175, allocations: 1.526 MB / 1.004 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.2176, allocations: 8.031 kB / 1.004 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.2191, allocations: 354.7 kB / 1.004 GB, free: 13.85 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009748/0.2201, allocations: 0.7561 MB / 1.005 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.2201, allocations: 69.98 kB / 1.005 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.2202, allocations: 96 kB / 1.005 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.2212, allocations: 0.9541 MB / 1.006 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.2213, allocations: 7.938 kB / 1.006 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/0.2213, allocations: 36 kB / 1.006 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.955e-05/0.2214, allocations: 37.98 kB / 1.006 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.222, allocations: 391.3 kB / 1.006 GB, free: 11.36 MB / 0.9636 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.003388/0.2254, allocations: 4.684 MB / 1.011 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004677/0.2258, allocations: 285.6 kB / 1.011 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.226, allocations: 141.7 kB / 1.011 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.2263, allocations: 80.42 kB / 1.011 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.2263, allocations: 41.89 kB / 1.011 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=49): time 3.667e-06/0.2263, allocations: 4 kB / 1.011 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of matching and sorting (n=49): time 0.0008643/0.2272, allocations: 464.4 kB / 1.012 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.2272, allocations: 59.89 kB / 1.012 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.2278, allocations: 0.6634 MB / 1.013 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.2278, allocations: 37.7 kB / 1.013 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.2281, allocations: 0.5767 MB / 1.013 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.2282, allocations: 182.4 kB / 1.013 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.2284, allocations: 156.2 kB / 1.014 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2286, allocations: 0.5664 MB / 1.014 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.2287, allocations: 89.94 kB / 1.014 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.2292, allocations: 0.7923 MB / 1.015 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005525/0.2297, allocations: 0.5954 MB / 1.016 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.2297, allocations: 7.938 kB / 1.016 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007166/0.2305, allocations: 0.5716 MB / 1.016 GB, free: 0.7422 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.2305, allocations: 8 kB / 1.016 GB, free: 0.7344 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.2305, allocations: 12 kB / 1.016 GB, free: 0.7227 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.2305, allocations: 8 kB / 1.016 GB, free: 0.7148 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.2309, allocations: 155.8 kB / 1.016 GB, free: 0.5625 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.2309, allocations: 19.92 kB / 1.016 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.2312, allocations: 71.52 kB / 1.016 GB, free: 484 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.2313, allocations: 32 kB / 1.016 GB, free: 452 kB / 0.9636 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.0002147/0.2315, allocations: 220.2 kB / 1.017 GB, free: 220 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/0.2316, allocations: 99.48 kB / 1.017 GB, free: 120 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005467/0.2321, allocations: 373.8 kB / 1.017 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2321, allocations: 4 kB / 1.017 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2321, allocations: 0 / 1.017 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003335/0.2325, allocations: 291.2 kB / 1.017 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.2339, allocations: 1.209 MB / 1.019 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2339, allocations: 4 kB / 1.019 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.2342, allocations: 115.8 kB / 1.019 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.2342, allocations: 0 / 1.019 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.2342, allocations: 16.05 kB / 1.019 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.2342, allocations: 4 kB / 1.019 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.2343, allocations: 11.92 kB / 1.019 GB, free: 14 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006926/0.2349, allocations: 0.6703 MB / 1.019 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.2351, allocations: 139.3 kB / 1.019 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.2352, allocations: 8 kB / 1.019 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.2354, allocations: 20.55 kB / 1.02 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.2355, allocations: 43.66 kB / 1.02 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.2355, allocations: 16 kB / 1.02 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003288/0.2358, allocations: 411 kB / 1.02 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/0.2358, allocations: 0 / 1.02 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006839/0.2365, allocations: 311.3 kB / 1.02 GB, free: 12.36 MB / 0.9792 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.0004392/0.237, allocations: 208.7 kB / 1.02 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005154/0.2375, allocations: 359.8 kB / 1.021 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2375, allocations: 1.938 kB / 1.021 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.2377, allocations: 156.4 kB / 1.021 GB, free: 11.65 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.2387, allocations: 384 kB / 1.021 GB, free: 11.28 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.241, allocations: 1.664 MB / 1.023 GB, free: 9.547 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.2412, allocations: 247.1 kB / 1.023 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006125/0.2419, allocations: 218.5 kB / 1.023 GB, free: 9.066 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.242, allocations: 68.48 kB / 1.023 GB, free: 9 MB / 0.9792 GB Notification: Performance of SimCode: time 1.854e-06/0.242, allocations: 0 / 1.023 GB, free: 9 MB / 0.9792 GB Notification: Performance of Templates: time 0.02228/0.2643, allocations: 14.55 MB / 1.038 GB, free: 10.82 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 6.0966507201083004]