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.001627/0.001627, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001982/0.001982, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.814/2.814, allocations: 0.49 GB / 0.7923 GB, free: 1.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|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.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.89 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9389/0.941, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2319/1.173, allocations: 198.8 MB / 1.516 GB, free: 2.402 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01907/1.192, allocations: 14.41 MB / 1.53 GB, free: 3.941 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/1.193, allocations: 51.56 kB / 1.53 GB, free: 3.891 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/1.195, allocations: 0.5046 MB / 1.531 GB, free: 3.383 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005159/1.2, allocations: 1.96 MB / 1.533 GB, free: 1.414 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002451/1.203, allocations: 0.8672 MB / 1.534 GB, free: 0.5508 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003663/1.206, allocations: 2.569 MB / 1.536 GB, free: 13.97 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/1.208, allocations: 0.9302 MB / 1.537 GB, free: 13.02 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004921/1.213, allocations: 1.874 MB / 1.539 GB, free: 11.16 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/1.214, allocations: 0.98 MB / 1.54 GB, free: 10.18 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/1.215, allocations: 104 kB / 1.54 GB, free: 10.08 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/1.217, allocations: 1.15 MB / 1.541 GB, free: 8.926 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000556/1.218, allocations: 0.5025 MB / 1.541 GB, free: 8.422 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008037/1.218, allocations: 0.6377 MB / 1.542 GB, free: 7.781 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004142/1.222, allocations: 1.927 MB / 1.544 GB, free: 5.848 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/1.222, allocations: 0 / 1.544 GB, free: 5.848 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.025e-06/1.222, allocations: 0 / 1.544 GB, free: 5.848 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.898e-05/1.223, allocations: 0 / 1.544 GB, free: 5.848 MB / 1.217 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.002738/1.225, allocations: 1.482 MB / 1.545 GB, free: 4.312 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.225, allocations: 15.98 kB / 1.545 GB, free: 4.297 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/1.227, allocations: 259 kB / 1.546 GB, free: 4.043 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/1.228, allocations: 0.8013 MB / 1.546 GB, free: 3.199 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/1.228, allocations: 74 kB / 1.546 GB, free: 3.125 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/1.228, allocations: 92 kB / 1.547 GB, free: 3.035 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/1.23, allocations: 1.173 MB / 1.548 GB, free: 1.793 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/1.23, allocations: 7.922 kB / 1.548 GB, free: 1.785 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.303e-05/1.23, allocations: 43.94 kB / 1.548 GB, free: 1.742 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/1.23, allocations: 37.98 kB / 1.548 GB, free: 1.703 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/1.232, allocations: 0.9053 MB / 1.549 GB, free: 0.7969 MB / 1.217 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.00607/1.238, allocations: 5.819 MB / 1.554 GB, free: 10.5 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008975/1.239, allocations: 0.5119 MB / 1.555 GB, free: 9.984 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/1.239, allocations: 294.6 kB / 1.555 GB, free: 9.691 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006126/1.24, allocations: 315.7 kB / 1.555 GB, free: 9.328 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/1.24, allocations: 39 kB / 1.555 GB, free: 9.277 MB / 1.232 GB Notification: Performance of pre-optimization done (n=49): time 2.685e-06/1.24, allocations: 0 / 1.555 GB, free: 9.277 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.001566/1.241, allocations: 0.8108 MB / 1.556 GB, free: 8.465 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/1.241, allocations: 59.84 kB / 1.556 GB, free: 8.395 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009374/1.242, allocations: 0.7471 MB / 1.557 GB, free: 7.641 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/1.242, allocations: 37.7 kB / 1.557 GB, free: 7.598 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/1.243, allocations: 0.5155 MB / 1.558 GB, free: 7.074 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/1.243, allocations: 186.4 kB / 1.558 GB, free: 6.891 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/1.243, allocations: 146.5 kB / 1.558 GB, free: 6.742 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.243, allocations: 337.9 kB / 1.558 GB, free: 6.406 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/1.244, allocations: 249.9 kB / 1.558 GB, free: 6.16 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006763/1.244, allocations: 0.5508 MB / 1.559 GB, free: 5.477 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/1.245, allocations: 0.7995 MB / 1.56 GB, free: 4.566 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.245, allocations: 4 kB / 1.56 GB, free: 4.562 MB / 1.232 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001312/1.247, allocations: 0.8549 MB / 1.561 GB, free: 3.699 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.247, allocations: 8 kB / 1.561 GB, free: 3.691 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.247, allocations: 8 kB / 1.561 GB, free: 3.684 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/1.247, allocations: 12.05 kB / 1.561 GB, free: 3.672 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/1.247, allocations: 159.7 kB / 1.561 GB, free: 3.516 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/1.247, allocations: 15.94 kB / 1.561 GB, free: 3.5 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007015/1.248, allocations: 87.64 kB / 1.561 GB, free: 3.414 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/1.248, allocations: 39.94 kB / 1.561 GB, free: 3.375 MB / 1.232 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.0004347/1.249, allocations: 333.4 kB / 1.561 GB, free: 3.039 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/1.249, allocations: 95.38 kB / 1.561 GB, free: 2.945 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/1.25, allocations: 0.618 MB / 1.562 GB, free: 2.32 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/1.25, allocations: 7.984 kB / 1.562 GB, free: 2.312 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.25, allocations: 0 / 1.562 GB, free: 2.312 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007653/1.251, allocations: 0.5211 MB / 1.562 GB, free: 1.781 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/1.253, allocations: 1.663 MB / 1.564 GB, free: 40 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.253, allocations: 8.141 kB / 1.564 GB, free: 32 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/1.254, allocations: 115.8 kB / 1.564 GB, free: 15.92 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/1.254, allocations: 4 kB / 1.564 GB, free: 15.91 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/1.254, allocations: 15.98 kB / 1.564 GB, free: 15.9 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/1.254, allocations: 4 kB / 1.564 GB, free: 15.89 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.254, allocations: 4 kB / 1.564 GB, free: 15.89 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/1.255, allocations: 1.023 MB / 1.565 GB, free: 14.83 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/1.255, allocations: 232.4 kB / 1.565 GB, free: 14.58 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.255, allocations: 12 kB / 1.565 GB, free: 14.57 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/1.256, allocations: 12 kB / 1.566 GB, free: 14.56 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/1.256, allocations: 39.95 kB / 1.566 GB, free: 14.52 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/1.256, allocations: 23.92 kB / 1.566 GB, free: 14.5 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006795/1.257, allocations: 0.5107 MB / 1.566 GB, free: 13.99 MB / 1.248 GB Notification: Performance of sort global known variables: time 7.1e-08/1.257, allocations: 0 / 1.566 GB, free: 13.99 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009178/1.258, allocations: 295.5 kB / 1.566 GB, free: 13.7 MB / 1.248 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.0005026/1.258, allocations: 204.8 kB / 1.567 GB, free: 13.49 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001013/1.259, allocations: 0.595 MB / 1.567 GB, free: 12.9 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.259, allocations: 0 / 1.567 GB, free: 12.9 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003861/1.26, allocations: 265.4 kB / 1.567 GB, free: 12.64 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/1.261, allocations: 430.1 kB / 1.568 GB, free: 12.23 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/1.265, allocations: 2.051 MB / 1.57 GB, free: 10.12 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/1.265, allocations: 1.122 MB / 1.571 GB, free: 8.973 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/1.266, allocations: 79.42 kB / 1.571 GB, free: 8.895 MB / 1.248 GB Notification: Performance of SimCode: time 7.61e-07/1.266, allocations: 0 / 1.571 GB, free: 8.895 MB / 1.248 GB Notification: Performance of Templates: time 0.02272/1.288, allocations: 14.71 MB / 1.585 GB, free: 10.3 MB / 1.264 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.084780054996372]