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.001014/0.001014, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009817/0.0009817, allocations: 169 kB / 24.28 MB, free: 280 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.024/1.024, allocations: 177.2 MB / 204.6 MB, free: 5.582 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.927/1.927, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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.623e-06/1.623e-06, allocations: 0 / 0.8115 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.528e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1974/0.1975, allocations: 192.4 MB / 0.9994 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.2112, allocations: 14.66 MB / 1.014 GB, free: 1.227 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.2124, allocations: 51.56 kB / 1.014 GB, free: 1.176 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.2139, allocations: 0.4927 MB / 1.014 GB, free: 0.6797 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.2177, allocations: 2.002 MB / 1.016 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.2196, allocations: 0.9269 MB / 1.017 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002704/0.2223, allocations: 2.631 MB / 1.02 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009032/0.2232, allocations: 0.8266 MB / 1.02 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003614/0.2268, allocations: 2.245 MB / 1.023 GB, free: 8.047 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.228, allocations: 0.8855 MB / 1.024 GB, free: 7.168 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.2282, allocations: 104 kB / 1.024 GB, free: 7.066 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.2297, allocations: 0.9232 MB / 1.025 GB, free: 6.141 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005654/0.2303, allocations: 0.5532 MB / 1.025 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.000432/0.2307, allocations: 463 kB / 1.026 GB, free: 5.133 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.2325, allocations: 1.433 MB / 1.027 GB, free: 3.695 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2325, allocations: 4 kB / 1.027 GB, free: 3.691 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2325, allocations: 0 / 1.027 GB, free: 3.691 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.2325, allocations: 0 / 1.027 GB, free: 3.691 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.00155/0.234, allocations: 1.522 MB / 1.028 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.2341, allocations: 12.03 kB / 1.028 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009728/0.235, allocations: 358.6 kB / 1.029 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008717/0.2359, allocations: 0.7522 MB / 1.03 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.236, allocations: 70 kB / 1.03 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.2361, allocations: 103.9 kB / 1.03 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4515/0.6875, allocations: 0.9492 MB / 1.031 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/0.6876, allocations: 4.375 kB / 1.031 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.14e-05/0.6876, allocations: 38.48 kB / 1.031 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.768e-05/0.6877, allocations: 34.27 kB / 1.031 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009137/0.6886, allocations: 382.5 kB / 1.031 GB, free: 235.9 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.004034/0.6926, allocations: 4.69 MB / 1.036 GB, free: 232.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.6932, allocations: 284.1 kB / 1.036 GB, free: 232.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.6934, allocations: 146 kB / 1.036 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/0.6937, allocations: 73.75 kB / 1.036 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.6937, allocations: 43.42 kB / 1.036 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=49): time 4.448e-06/0.6937, allocations: 0 / 1.036 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=49): time 0.000929/0.6946, allocations: 469.2 kB / 1.037 GB, free: 232.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.6947, allocations: 58.7 kB / 1.037 GB, free: 232 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006805/0.6954, allocations: 0.6636 MB / 1.037 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.6954, allocations: 36.86 kB / 1.037 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.6957, allocations: 0.5705 MB / 1.038 GB, free: 231.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.6958, allocations: 189 kB / 1.038 GB, free: 231.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.696, allocations: 148.2 kB / 1.038 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6961, allocations: 0.5665 MB / 1.039 GB, free: 230.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.6963, allocations: 92.44 kB / 1.039 GB, free: 230.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.6967, allocations: 0.7933 MB / 1.04 GB, free: 229.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/0.6972, allocations: 0.5906 MB / 1.04 GB, free: 229.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.6972, allocations: 6.125 kB / 1.04 GB, free: 229.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008193/0.698, allocations: 0.5767 MB / 1.041 GB, free: 228.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.6981, allocations: 15.5 kB / 1.041 GB, free: 228.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.6981, allocations: 9.656 kB / 1.041 GB, free: 228.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.6981, allocations: 11.31 kB / 1.041 GB, free: 228.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.6985, allocations: 155 kB / 1.041 GB, free: 228.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/0.6985, allocations: 18.92 kB / 1.041 GB, free: 228.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.6989, allocations: 72.91 kB / 1.041 GB, free: 228.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.6989, allocations: 34.84 kB / 1.041 GB, free: 228.8 MB / 0.9323 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.0001821/0.6991, allocations: 203 kB / 1.041 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.6992, allocations: 100.5 kB / 1.041 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.6998, allocations: 383.7 kB / 1.042 GB, free: 228.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.6998, allocations: 4.656 kB / 1.042 GB, free: 228.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6998, allocations: 0.75 kB / 1.042 GB, free: 228.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003687/0.7002, allocations: 291.8 kB / 1.042 GB, free: 228.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.7017, allocations: 1.21 MB / 1.043 GB, free: 227.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.7017, allocations: 3.094 kB / 1.043 GB, free: 227.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.7021, allocations: 113.9 kB / 1.043 GB, free: 227.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.7021, allocations: 4.562 kB / 1.043 GB, free: 227.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.7022, allocations: 15.83 kB / 1.043 GB, free: 227.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.557e-06/0.7022, allocations: 4.312 kB / 1.043 GB, free: 227.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.7022, allocations: 3.875 kB / 1.043 GB, free: 227.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008584/0.703, allocations: 0.6698 MB / 1.044 GB, free: 227.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.7032, allocations: 138.5 kB / 1.044 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.7033, allocations: 12.02 kB / 1.044 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.7035, allocations: 19.06 kB / 1.044 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.7036, allocations: 37.28 kB / 1.044 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.7036, allocations: 18.78 kB / 1.044 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000407/0.704, allocations: 411.4 kB / 1.045 GB, free: 226.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1e-07/0.704, allocations: 0 / 1.045 GB, free: 226.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007371/0.7048, allocations: 321.2 kB / 1.045 GB, free: 226.8 MB / 0.9323 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.0004532/0.7052, allocations: 203.2 kB / 1.045 GB, free: 226.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.7058, allocations: 360.2 kB / 1.045 GB, free: 226.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7058, allocations: 1.312 kB / 1.045 GB, free: 226.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.706, allocations: 161.4 kB / 1.046 GB, free: 226.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.7071, allocations: 372.9 kB / 1.046 GB, free: 226.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.7095, allocations: 1.658 MB / 1.048 GB, free: 225.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.7097, allocations: 248.1 kB / 1.048 GB, free: 225.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000585/0.7103, allocations: 223.2 kB / 1.048 GB, free: 225.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.7104, allocations: 69.14 kB / 1.048 GB, free: 225.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.482e-06/0.7104, allocations: 1.406 kB / 1.048 GB, free: 225.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.02149/0.7319, allocations: 14.57 MB / 1.062 GB, free: 218.6 MB / 0.9323 GB " [Timeout remaining time 299] 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: 6.169239170849323]