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.001528/0.001528, 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.001737/0.001737, allocations: 161.3 kB / 23.54 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.549/1.549, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.929/2.929, allocations: 359 MB / 0.6048 GB, free: 10.96 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 2.214e-06/2.214e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.929e-05/5.151e-05, allocations: 4.031 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.3029/0.303, allocations: 172.5 MB / 0.9549 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02573/0.3287, allocations: 13.11 MB / 0.9677 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.3304, allocations: 51.56 kB / 0.9677 GB, free: 2.539 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.3324, allocations: 0.4928 MB / 0.9682 GB, free: 2.043 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.006115/0.3386, allocations: 1.998 MB / 0.9701 GB, free: 36 kB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.3416, allocations: 0.9464 MB / 0.9711 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.00472/0.3463, allocations: 2.619 MB / 0.9736 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/0.3484, allocations: 0.8344 MB / 0.9744 GB, free: 11.6 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006591/0.355, allocations: 2.004 MB / 0.9764 GB, free: 9.641 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.3572, allocations: 0.9032 MB / 0.9773 GB, free: 8.742 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0003623/0.3576, allocations: 108 kB / 0.9774 GB, free: 8.637 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.3603, allocations: 0.9426 MB / 0.9783 GB, free: 7.691 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0009395/0.3612, allocations: 0.5376 MB / 0.9788 GB, free: 7.152 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.3626, allocations: 455 kB / 0.9793 GB, free: 6.707 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0044/0.367, allocations: 1.951 MB / 0.9812 GB, free: 4.75 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.367, allocations: 0 / 0.9812 GB, free: 4.75 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.683e-06/0.367, allocations: 4 kB / 0.9812 GB, free: 4.746 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.028e-05/0.3671, allocations: 0 / 0.9812 GB, free: 4.746 MB / 0.9323 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.004072/0.3712, allocations: 1.403 MB / 0.9825 GB, free: 3.305 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3712, allocations: 8.031 kB / 0.9825 GB, free: 3.297 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.373, allocations: 358.7 kB / 0.9829 GB, free: 2.945 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.3748, allocations: 0.7721 MB / 0.9836 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.913e-05/0.3749, allocations: 70 kB / 0.9837 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.3751, allocations: 95.95 kB / 0.9838 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.3776, allocations: 1.302 MB / 0.9851 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.3776, allocations: 7.938 kB / 0.9851 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.3777, allocations: 40 kB / 0.9851 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.956e-05/0.3778, allocations: 37.98 kB / 0.9852 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.3795, allocations: 0.9014 MB / 0.986 GB, free: 15.59 MB / 0.948 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.006649/0.3861, allocations: 4.021 MB / 0.99 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.3871, allocations: 0.5243 MB / 0.9905 GB, free: 10.92 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/0.3877, allocations: 298.8 kB / 0.9908 GB, free: 10.62 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005319/0.3882, allocations: 76.42 kB / 0.9908 GB, free: 10.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.3882, allocations: 39.06 kB / 0.9909 GB, free: 10.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 2.235e-06/0.3882, allocations: 0 / 0.9909 GB, free: 10.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.001894/0.3901, allocations: 0.8244 MB / 0.9917 GB, free: 9.676 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.3902, allocations: 59.89 kB / 0.9917 GB, free: 9.605 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009907/0.3912, allocations: 0.6605 MB / 0.9924 GB, free: 8.934 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.774e-05/0.3913, allocations: 37.7 kB / 0.9924 GB, free: 8.891 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.3918, allocations: 0.5154 MB / 0.9929 GB, free: 8.367 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.392, allocations: 186.5 kB / 0.9931 GB, free: 8.184 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.3922, allocations: 134.6 kB / 0.9932 GB, free: 8.047 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002773/0.3925, allocations: 386.8 kB / 0.9936 GB, free: 7.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.3929, allocations: 253.8 kB / 0.9938 GB, free: 7.414 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.3942, allocations: 0.8308 MB / 0.9946 GB, free: 6.383 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.3954, allocations: 0.7927 MB / 0.9954 GB, free: 5.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-05/0.3955, allocations: 11.92 kB / 0.9954 GB, free: 5.469 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00161/0.3971, allocations: 0.8717 MB / 0.9963 GB, free: 4.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.3971, allocations: 12 kB / 0.9963 GB, free: 4.578 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.3971, allocations: 8 kB / 0.9963 GB, free: 4.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.752e-05/0.3972, allocations: 12 kB / 0.9963 GB, free: 4.559 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/0.3978, allocations: 155.8 kB / 0.9965 GB, free: 4.406 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-05/0.3978, allocations: 19.92 kB / 0.9965 GB, free: 4.387 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007714/0.3986, allocations: 80 kB / 0.9966 GB, free: 4.309 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-05/0.3987, allocations: 32 kB / 0.9966 GB, free: 4.277 MB / 0.948 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.0006/0.3993, allocations: 337.3 kB / 0.9969 GB, free: 3.938 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.3995, allocations: 95.48 kB / 0.997 GB, free: 3.844 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.4007, allocations: 0.6148 MB / 0.9976 GB, free: 3.215 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.4007, allocations: 4 kB / 0.9976 GB, free: 3.211 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4007, allocations: 0 / 0.9976 GB, free: 3.211 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008729/0.4016, allocations: 0.5226 MB / 0.9981 GB, free: 2.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.4043, allocations: 1.452 MB / 0.9995 GB, free: 1.164 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.4043, allocations: 4 kB / 0.9995 GB, free: 1.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005461/0.4049, allocations: 107.9 kB / 0.9996 GB, free: 1.055 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.4049, allocations: 4 kB / 0.9996 GB, free: 1.051 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/0.4049, allocations: 12.22 kB / 0.9997 GB, free: 1.039 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.4049, allocations: 11.94 kB / 0.9997 GB, free: 1.027 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.4049, allocations: 3.938 kB / 0.9997 GB, free: 1.023 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.4066, allocations: 1.033 MB / 1.001 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.407, allocations: 135.5 kB / 1.001 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.4071, allocations: 19.98 kB / 1.001 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.4075, allocations: 16 kB / 1.001 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.4076, allocations: 39.66 kB / 1.001 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.4076, allocations: 20 kB / 1.001 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0008748/0.4085, allocations: 447 kB / 1.001 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4085, allocations: 4 kB / 1.001 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0009997/0.4095, allocations: 323.2 kB / 1.002 GB, free: 14.97 MB / 0.9636 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.0005331/0.41, allocations: 198.4 kB / 1.002 GB, free: 14.78 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.4112, allocations: 0.5818 MB / 1.002 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4112, allocations: 0 / 1.002 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.4116, allocations: 259.8 kB / 1.003 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.4134, allocations: 391.7 kB / 1.003 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.4168, allocations: 1.857 MB / 1.005 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/0.4175, allocations: 0.5274 MB / 1.005 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0008273/0.4183, allocations: 258.5 kB / 1.006 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.4185, allocations: 72.42 kB / 1.006 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of SimCode: time 7.81e-07/0.4185, allocations: 0 / 1.006 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of Templates: time 0.0296/0.4481, allocations: 14.46 MB / 1.02 GB, free: 12.69 MB / 0.9792 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=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: 8.923825523001142]