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.001922/0.001922, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002307/0.002307, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.514/1.514, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.974/2.974, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.857e-05/5.061e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.3314/0.3314, allocations: 172.5 MB / 0.9793 GB, free: 4.945 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02269/0.3541, allocations: 13.11 MB / 0.9921 GB, free: 7.793 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.3555, allocations: 51.56 kB / 0.9922 GB, free: 7.742 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.3575, allocations: 0.4928 MB / 0.9927 GB, free: 7.246 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.007508/0.3651, allocations: 1.994 MB / 0.9946 GB, free: 5.242 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.3681, allocations: 0.9386 MB / 0.9955 GB, free: 4.301 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.004136/0.3722, allocations: 2.627 MB / 0.9981 GB, free: 1.664 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.374, allocations: 0.8189 MB / 0.9989 GB, free: 0.8242 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007003/0.381, allocations: 2.233 MB / 1.001 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/0.3831, allocations: 0.8838 MB / 1.002 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0003554/0.3835, allocations: 104 kB / 1.002 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.386, allocations: 0.9348 MB / 1.003 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0008795/0.3868, allocations: 0.5337 MB / 1.003 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.388, allocations: 463 kB / 1.004 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.003818/0.3918, allocations: 1.944 MB / 1.006 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3918, allocations: 0 / 1.006 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3918, allocations: 0 / 1.006 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.617e-05/0.3919, allocations: 0 / 1.006 GB, free: 9.785 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.00323/0.3951, allocations: 1.407 MB / 1.007 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3951, allocations: 12.03 kB / 1.007 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.397, allocations: 358.7 kB / 1.008 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.3988, allocations: 0.7721 MB / 1.008 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.3989, allocations: 70 kB / 1.008 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.3991, allocations: 95.95 kB / 1.008 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.4016, allocations: 1.302 MB / 1.01 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.4016, allocations: 3.938 kB / 1.01 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.4017, allocations: 40 kB / 1.01 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/0.4018, allocations: 30 kB / 1.01 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.4035, allocations: 0.9054 MB / 1.011 GB, free: 4.633 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.006495/0.41, allocations: 4.021 MB / 1.015 GB, free: 0.4922 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.411, allocations: 0.5189 MB / 1.015 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/0.4115, allocations: 295.3 kB / 1.015 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000557/0.4121, allocations: 84.42 kB / 1.015 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.4121, allocations: 47.05 kB / 1.016 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=49): time 2.174e-06/0.4121, allocations: 0 / 1.016 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of matching and sorting (n=49): time 0.001811/0.4139, allocations: 0.8128 MB / 1.016 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.414, allocations: 59.91 kB / 1.016 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.415, allocations: 0.6683 MB / 1.017 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.4151, allocations: 37.7 kB / 1.017 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005017/0.4156, allocations: 0.5231 MB / 1.018 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.4158, allocations: 182.4 kB / 1.018 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.4161, allocations: 142.6 kB / 1.018 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002555/0.4163, allocations: 386.8 kB / 1.018 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/0.4168, allocations: 245.9 kB / 1.018 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.4178, allocations: 0.8308 MB / 1.019 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.4191, allocations: 0.8044 MB / 1.02 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.4191, allocations: 7.938 kB / 1.02 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001725/0.4208, allocations: 0.8683 MB / 1.021 GB, free: 9.613 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.4208, allocations: 8 kB / 1.021 GB, free: 9.605 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.4208, allocations: 8 kB / 1.021 GB, free: 9.598 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.504e-05/0.4209, allocations: 15.94 kB / 1.021 GB, free: 9.582 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.4215, allocations: 151.8 kB / 1.021 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.414e-05/0.4215, allocations: 19.92 kB / 1.021 GB, free: 9.414 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007922/0.4223, allocations: 79.5 kB / 1.021 GB, free: 9.336 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.4226, allocations: 32 kB / 1.021 GB, free: 9.305 MB / 0.9792 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.000582/0.4231, allocations: 341.5 kB / 1.022 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/0.4234, allocations: 95.48 kB / 1.022 GB, free: 8.867 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.4246, allocations: 0.6147 MB / 1.022 GB, free: 8.246 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.4246, allocations: 4 kB / 1.022 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.4246, allocations: 0 / 1.022 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008671/0.4255, allocations: 0.5187 MB / 1.023 GB, free: 7.711 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.4283, allocations: 1.452 MB / 1.024 GB, free: 6.199 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4283, allocations: 0 / 1.024 GB, free: 6.199 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005775/0.4288, allocations: 111.9 kB / 1.024 GB, free: 6.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.4289, allocations: 4 kB / 1.024 GB, free: 6.086 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.4289, allocations: 8 kB / 1.024 GB, free: 6.078 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.4289, allocations: 4 kB / 1.024 GB, free: 6.074 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/0.4289, allocations: 11.88 kB / 1.024 GB, free: 6.062 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.4306, allocations: 1.025 MB / 1.025 GB, free: 5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003837/0.431, allocations: 143.3 kB / 1.025 GB, free: 4.859 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.4312, allocations: 19.98 kB / 1.025 GB, free: 4.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.4316, allocations: 19.95 kB / 1.025 GB, free: 4.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.4317, allocations: 39.88 kB / 1.026 GB, free: 4.781 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.4318, allocations: 19.98 kB / 1.026 GB, free: 4.762 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0006876/0.4325, allocations: 451 kB / 1.026 GB, free: 4.324 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.4325, allocations: 0 / 1.026 GB, free: 4.324 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001065/0.4335, allocations: 311.3 kB / 1.026 GB, free: 4.02 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.0007057/0.4342, allocations: 201.1 kB / 1.026 GB, free: 3.824 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.4357, allocations: 0.5932 MB / 1.027 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.4357, allocations: 3.938 kB / 1.027 GB, free: 3.227 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.4362, allocations: 252.2 kB / 1.027 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.4382, allocations: 396.4 kB / 1.028 GB, free: 2.602 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.4423, allocations: 1.849 MB / 1.029 GB, free: 0.6953 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/0.4431, allocations: 0.5235 MB / 1.03 GB, free: 144 kB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00107/0.4442, allocations: 254.5 kB / 1.03 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.4445, allocations: 76.48 kB / 1.03 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of SimCode: time 1.433e-06/0.4445, allocations: 0 / 1.03 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of Templates: time 0.03129/0.4758, allocations: 14.46 MB / 1.044 GB, free: 1.738 MB / 0.9948 GB " [Timeout remaining time 300] 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/jenkins/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: 9.521457812050357]