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.001896/0.001896, allocations: 87.69 kB / 20.23 MB, free: 4.188 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.002006/0.002006, allocations: 161.7 kB / 23.55 MB, free: 0.875 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.625/1.625, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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.987/2.987, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 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.342e-06/1.342e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.698e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2781/0.2781, allocations: 192.2 MB / 0.9741 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02446/0.3026, allocations: 14.64 MB / 0.9884 GB, free: 13.27 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.3043, allocations: 51.56 kB / 0.9884 GB, free: 13.22 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.306, allocations: 0.5005 MB / 0.9889 GB, free: 12.72 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.005732/0.3118, allocations: 1.99 MB / 0.9909 GB, free: 10.72 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.3147, allocations: 0.9425 MB / 0.9918 GB, free: 9.773 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.004167/0.3188, allocations: 2.631 MB / 0.9944 GB, free: 7.133 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.3204, allocations: 0.8267 MB / 0.9952 GB, free: 6.281 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005609/0.326, allocations: 2.017 MB / 0.9971 GB, free: 4.309 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.3281, allocations: 0.9032 MB / 0.998 GB, free: 3.41 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002331/0.3283, allocations: 108 kB / 0.9981 GB, free: 3.305 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.3307, allocations: 0.9464 MB / 0.9991 GB, free: 2.355 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007028/0.3314, allocations: 0.5454 MB / 0.9996 GB, free: 1.809 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007996/0.3322, allocations: 463 kB / 1 GB, free: 1.355 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.3356, allocations: 1.951 MB / 1.002 GB, free: 15.4 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3356, allocations: 4 kB / 1.002 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3356, allocations: 0 / 1.002 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.3356, allocations: 4 kB / 1.002 GB, free: 15.39 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.002899/0.3385, allocations: 1.592 MB / 1.003 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3386, allocations: 12.03 kB / 1.004 GB, free: 13.74 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.3402, allocations: 358.6 kB / 1.004 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.3418, allocations: 0.7398 MB / 1.005 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.3419, allocations: 69.98 kB / 1.005 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.3421, allocations: 99.95 kB / 1.005 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.344, allocations: 1.161 MB / 1.006 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.344, allocations: 4 kB / 1.006 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.701e-05/0.3441, allocations: 40 kB / 1.006 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/0.3442, allocations: 33.94 kB / 1.006 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.3454, allocations: 0.5735 MB / 1.007 GB, free: 10.52 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.006824/0.3522, allocations: 5.172 MB / 1.012 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009172/0.3531, allocations: 353.5 kB / 1.012 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/0.3536, allocations: 185.6 kB / 1.012 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000574/0.3541, allocations: 76.42 kB / 1.012 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.351e-05/0.3542, allocations: 37.89 kB / 1.012 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=49): time 9.879e-06/0.3542, allocations: 11.92 kB / 1.012 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of matching and sorting (n=49): time 0.001629/0.3558, allocations: 0.5395 MB / 1.013 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.3559, allocations: 59.89 kB / 1.013 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.3571, allocations: 0.8118 MB / 1.014 GB, free: 3.07 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/0.3572, allocations: 37.7 kB / 1.014 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/0.3578, allocations: 0.6041 MB / 1.014 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.3581, allocations: 198.5 kB / 1.014 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002957/0.3584, allocations: 172.2 kB / 1.015 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.00044/0.3588, allocations: 0.6055 MB / 1.015 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.3591, allocations: 137.9 kB / 1.015 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009422/0.36, allocations: 0.8547 MB / 1.016 GB, free: 188 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.3611, allocations: 0.6931 MB / 1.017 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.3611, allocations: 3.938 kB / 1.017 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001261/0.3624, allocations: 0.6608 MB / 1.017 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.3624, allocations: 8 kB / 1.017 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.3625, allocations: 8 kB / 1.017 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/0.3625, allocations: 12 kB / 1.017 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.3631, allocations: 151.8 kB / 1.018 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.067e-05/0.3631, allocations: 20.48 kB / 1.018 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/0.3638, allocations: 75.52 kB / 1.018 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/0.3639, allocations: 36 kB / 1.018 GB, free: 14.36 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.0004622/0.3643, allocations: 280.2 kB / 1.018 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.3646, allocations: 95.53 kB / 1.018 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.3663, allocations: 433.6 kB / 1.018 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.3663, allocations: 8 kB / 1.019 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3663, allocations: 0 / 1.019 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/0.3673, allocations: 347.3 kB / 1.019 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.3706, allocations: 1.451 MB / 1.02 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3706, allocations: 0 / 1.02 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/0.3712, allocations: 111.8 kB / 1.02 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.3712, allocations: 7.984 kB / 1.02 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.3713, allocations: 16.22 kB / 1.02 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.3713, allocations: 8 kB / 1.02 GB, free: 11.53 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/0.3713, allocations: 7.938 kB / 1.02 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.3726, allocations: 0.7756 MB / 1.021 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.373, allocations: 139.3 kB / 1.021 GB, free: 10.56 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3731, allocations: 15.98 kB / 1.021 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.3735, allocations: 13.31 kB / 1.021 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.754e-05/0.3736, allocations: 39.81 kB / 1.021 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.3737, allocations: 20 kB / 1.021 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0006594/0.3743, allocations: 490.9 kB / 1.022 GB, free: 10 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/0.3743, allocations: 4 kB / 1.022 GB, free: 9.996 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0009928/0.3753, allocations: 315.3 kB / 1.022 GB, free: 9.688 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.0005669/0.3759, allocations: 201.4 kB / 1.022 GB, free: 9.492 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0009291/0.3768, allocations: 457.2 kB / 1.023 GB, free: 9.043 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.3768, allocations: 0 / 1.023 GB, free: 9.043 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.3772, allocations: 204.4 kB / 1.023 GB, free: 8.84 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.379, allocations: 379.2 kB / 1.023 GB, free: 8.477 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.3822, allocations: 1.709 MB / 1.025 GB, free: 6.703 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007615/0.383, allocations: 0.4999 MB / 1.025 GB, free: 6.172 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0007032/0.3837, allocations: 226.5 kB / 1.026 GB, free: 5.945 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.3839, allocations: 68.48 kB / 1.026 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of SimCode: time 1.032e-06/0.3839, allocations: 0 / 1.026 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of Templates: time 0.02987/0.4138, allocations: 14.53 MB / 1.04 GB, free: 7.73 MB / 0.9948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] 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.636058439034969]