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.0007193/0.0007193, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007995/0.0007995, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.9106/0.9106, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.65/1.65, allocations: 359 MB / 0.6044 GB, free: 11.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.1.|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.1.|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.573e-06/1.573e-06, allocations: 0 / 0.9518 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.86e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6816/0.6816, allocations: 172.5 MB / 1.12 GB, free: 30.3 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.6942, allocations: 13.11 MB / 1.133 GB, free: 21.5 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.6958, allocations: 51.59 kB / 1.133 GB, free: 21.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.6973, allocations: 0.4966 MB / 1.134 GB, free: 21.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005127/0.7024, allocations: 2.006 MB / 1.135 GB, free: 20.1 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.7051, allocations: 0.938 MB / 1.136 GB, free: 19.62 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003711/0.7088, allocations: 2.63 MB / 1.139 GB, free: 18.39 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.71, allocations: 0.8021 MB / 1.14 GB, free: 18.01 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004275/0.7143, allocations: 1.973 MB / 1.142 GB, free: 17.16 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.7161, allocations: 0.8864 MB / 1.143 GB, free: 16.88 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.7163, allocations: 106.7 kB / 1.143 GB, free: 16.88 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.7184, allocations: 0.9549 MB / 1.144 GB, free: 16.53 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006083/0.719, allocations: 0.5292 MB / 1.144 GB, free: 16.3 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008365/0.7199, allocations: 464.2 kB / 1.145 GB, free: 16.11 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003557/0.7234, allocations: 1.946 MB / 1.146 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.7234, allocations: 5.094 kB / 1.146 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7234, allocations: 0 / 1.146 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.15e-05/0.7235, allocations: 0 / 1.146 GB, free: 15.43 MB / 0.9948 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.002643/0.7261, allocations: 1.393 MB / 1.148 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.7262, allocations: 10.19 kB / 1.148 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.7272, allocations: 264.1 kB / 1.148 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.7284, allocations: 0.7382 MB / 1.149 GB, free: 14 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.7285, allocations: 69.02 kB / 1.149 GB, free: 13.97 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.7286, allocations: 99.55 kB / 1.149 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.73, allocations: 1.293 MB / 1.15 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.73, allocations: 5.953 kB / 1.15 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.411e-05/0.7301, allocations: 38.09 kB / 1.15 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.7301, allocations: 33.12 kB / 1.15 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.7312, allocations: 0.8951 MB / 1.151 GB, free: 12.89 MB / 0.9948 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.00368/0.7349, allocations: 3.999 MB / 1.155 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000664/0.7356, allocations: 0.5191 MB / 1.156 GB, free: 9.863 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.7359, allocations: 292.1 kB / 1.156 GB, free: 9.758 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.7362, allocations: 80.83 kB / 1.156 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.7362, allocations: 43.33 kB / 1.156 GB, free: 9.703 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=49): time 2.996e-06/0.7362, allocations: 0 / 1.156 GB, free: 9.703 MB / 0.9948 GB Notification: Performance of matching and sorting (n=49): time 0.001168/0.7374, allocations: 0.7979 MB / 1.157 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.7374, allocations: 57.92 kB / 1.157 GB, free: 9.332 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/0.7381, allocations: 0.6629 MB / 1.157 GB, free: 9.039 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.7381, allocations: 37.23 kB / 1.157 GB, free: 9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.7383, allocations: 0.5264 MB / 1.158 GB, free: 8.578 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.7384, allocations: 182.8 kB / 1.158 GB, free: 8.434 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.7386, allocations: 141.7 kB / 1.158 GB, free: 8.363 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.7387, allocations: 387.1 kB / 1.159 GB, free: 8.016 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.7389, allocations: 247.9 kB / 1.159 GB, free: 7.934 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.7394, allocations: 0.8334 MB / 1.16 GB, free: 7.129 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.74, allocations: 0.8005 MB / 1.161 GB, free: 6.574 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.74, allocations: 3.438 kB / 1.161 GB, free: 6.574 MB / 0.9948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009217/0.741, allocations: 0.848 MB / 1.161 GB, free: 6.227 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.741, allocations: 8.062 kB / 1.161 GB, free: 6.227 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.741, allocations: 8.688 kB / 1.161 GB, free: 6.227 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.741, allocations: 17.22 kB / 1.161 GB, free: 6.223 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.7414, allocations: 155.2 kB / 1.162 GB, free: 6.207 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.7414, allocations: 16.03 kB / 1.162 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.7418, allocations: 78.03 kB / 1.162 GB, free: 6.156 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.7419, allocations: 33.53 kB / 1.162 GB, free: 6.152 MB / 0.9948 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.0004462/0.7423, allocations: 331.2 kB / 1.162 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-05/0.7424, allocations: 85.98 kB / 1.162 GB, free: 5.895 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007093/0.7431, allocations: 0.6131 MB / 1.163 GB, free: 5.625 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.7431, allocations: 5.125 kB / 1.163 GB, free: 5.625 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.7431, allocations: 0 / 1.163 GB, free: 5.625 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005035/0.7436, allocations: 0.5264 MB / 1.163 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.7453, allocations: 1.442 MB / 1.165 GB, free: 4.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7453, allocations: 5.188 kB / 1.165 GB, free: 4.656 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.7456, allocations: 114.1 kB / 1.165 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.7456, allocations: 3.844 kB / 1.165 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.7456, allocations: 16.17 kB / 1.165 GB, free: 4.637 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.7457, allocations: 4.844 kB / 1.165 GB, free: 4.637 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7457, allocations: 1.25 kB / 1.165 GB, free: 4.637 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/0.7466, allocations: 1.014 MB / 1.166 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.7468, allocations: 142.1 kB / 1.166 GB, free: 4.043 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.7469, allocations: 22.61 kB / 1.166 GB, free: 4.027 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.7471, allocations: 21.41 kB / 1.166 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.7471, allocations: 37.73 kB / 1.166 GB, free: 4.008 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.7472, allocations: 19.73 kB / 1.166 GB, free: 4.004 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004466/0.7476, allocations: 450.2 kB / 1.166 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.7476, allocations: 0 / 1.166 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001/0.7486, allocations: 312.7 kB / 1.167 GB, free: 3.742 MB / 0.9948 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.0004716/0.7491, allocations: 191.7 kB / 1.167 GB, free: 3.625 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008875/0.75, allocations: 0.5898 MB / 1.167 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.75, allocations: 0 / 1.167 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.7503, allocations: 257 kB / 1.168 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.7514, allocations: 383 kB / 1.168 GB, free: 3.234 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.7539, allocations: 1.914 MB / 1.17 GB, free: 2.18 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.7544, allocations: 0.5245 MB / 1.17 GB, free: 2.023 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.7546, allocations: 76.47 kB / 1.17 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of SimCode: time 1.392e-06/0.7546, allocations: 0 / 1.17 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of Templates: time 0.02031/0.7749, allocations: 14.43 MB / 1.185 GB, free: 14.14 MB / 1.01 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.391204772517085]