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.001799/0.001799, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001876/0.001876, allocations: 165.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.52/1.52, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.805/2.805, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] 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.683e-06/1.683e-06, allocations: 0 / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.144e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.924/0.924, allocations: 172.5 MB / 1.119 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02024/0.9443, allocations: 13.1 MB / 1.132 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.9466, allocations: 51.88 kB / 1.132 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.9485, allocations: 0.4988 MB / 1.133 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006569/0.9551, allocations: 1.992 MB / 1.135 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.9588, allocations: 0.9397 MB / 1.136 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004689/0.9635, allocations: 2.634 MB / 1.138 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.9651, allocations: 0.7947 MB / 1.139 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006382/0.9714, allocations: 1.977 MB / 1.141 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.9737, allocations: 0.8858 MB / 1.142 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002327/0.9739, allocations: 107.9 kB / 1.142 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.9769, allocations: 0.9503 MB / 1.143 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000834/0.9777, allocations: 0.5385 MB / 1.143 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008767/0.9786, allocations: 462.6 kB / 1.144 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004386/0.983, allocations: 1.951 MB / 1.146 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.983, allocations: 0 / 1.146 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.983, allocations: 1.812 kB / 1.146 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.166e-05/0.983, allocations: 0 / 1.146 GB, free: 11.03 MB / 0.9981 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.002824/0.9858, allocations: 1.398 MB / 1.147 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.9859, allocations: 9.875 kB / 1.147 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.9876, allocations: 260.5 kB / 1.147 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.9892, allocations: 0.7309 MB / 1.148 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.9893, allocations: 71.34 kB / 1.148 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.9894, allocations: 97.78 kB / 1.148 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.9915, allocations: 1.296 MB / 1.149 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.9916, allocations: 6.25 kB / 1.149 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.9917, allocations: 39.12 kB / 1.149 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.898e-05/0.9917, allocations: 33.22 kB / 1.15 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.9933, allocations: 0.9016 MB / 1.15 GB, free: 9.582 MB / 0.9981 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.005164/0.9985, allocations: 3.998 MB / 1.154 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/0.9995, allocations: 0.5049 MB / 1.155 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004875/1, allocations: 304.4 kB / 1.155 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005237/1, allocations: 81.97 kB / 1.155 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/1.001, allocations: 38.97 kB / 1.155 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=49): time 2.334e-06/1.001, allocations: 1.031 kB / 1.155 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.001822/1.002, allocations: 0.8068 MB / 1.156 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.002, allocations: 57.09 kB / 1.156 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009992/1.003, allocations: 0.6571 MB / 1.157 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.528e-05/1.003, allocations: 37.8 kB / 1.157 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/1.004, allocations: 0.5188 MB / 1.157 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/1.004, allocations: 187.3 kB / 1.157 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/1.004, allocations: 143.8 kB / 1.158 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.004, allocations: 384.7 kB / 1.158 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/1.005, allocations: 248 kB / 1.158 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007363/1.006, allocations: 0.8397 MB / 1.159 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/1.007, allocations: 0.7985 MB / 1.16 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/1.007, allocations: 2.344 kB / 1.16 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001502/1.008, allocations: 0.8412 MB / 1.161 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/1.008, allocations: 19.91 kB / 1.161 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/1.008, allocations: 7.969 kB / 1.161 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.511e-05/1.008, allocations: 12.38 kB / 1.161 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/1.009, allocations: 156.2 kB / 1.161 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.443e-05/1.009, allocations: 19.17 kB / 1.161 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008668/1.01, allocations: 77.73 kB / 1.161 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/1.01, allocations: 33.56 kB / 1.161 GB, free: 5.219 MB / 0.9981 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.0006152/1.011, allocations: 335.1 kB / 1.161 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/1.011, allocations: 81.23 kB / 1.161 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/1.012, allocations: 0.6192 MB / 1.162 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/1.012, allocations: 4.938 kB / 1.162 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.012, allocations: 1.125 kB / 1.162 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000819/1.013, allocations: 0.517 MB / 1.162 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/1.015, allocations: 1.454 MB / 1.164 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.015, allocations: 2.469 kB / 1.164 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/1.016, allocations: 109.8 kB / 1.164 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/1.016, allocations: 5.531 kB / 1.164 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/1.016, allocations: 13.98 kB / 1.164 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/1.016, allocations: 6.688 kB / 1.164 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.016, allocations: 2.844 kB / 1.164 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/1.018, allocations: 1.011 MB / 1.165 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/1.018, allocations: 140.8 kB / 1.165 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.018, allocations: 13.47 kB / 1.165 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/1.019, allocations: 14.95 kB / 1.165 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/1.019, allocations: 37.56 kB / 1.165 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/1.019, allocations: 23.08 kB / 1.165 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007154/1.019, allocations: 451.7 kB / 1.166 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.019, allocations: 0 / 1.166 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00136/1.021, allocations: 314.1 kB / 1.166 GB, free: 4.156 MB / 0.9981 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.0006207/1.021, allocations: 199.4 kB / 1.166 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001107/1.023, allocations: 0.5897 MB / 1.167 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.023, allocations: 1.156 kB / 1.167 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004169/1.023, allocations: 263.3 kB / 1.167 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/1.025, allocations: 385.8 kB / 1.167 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/1.028, allocations: 1.827 MB / 1.169 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/1.028, allocations: 0.5265 MB / 1.17 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009649/1.029, allocations: 253.5 kB / 1.17 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/1.03, allocations: 69.16 kB / 1.17 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/1.03, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of Templates: time 0.02977/1.059, allocations: 14.36 MB / 1.184 GB, free: 1.574 MB / 0.9981 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.580904979258776]