Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 193.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.776/2.776, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002891/0.002891, allocations: 71.88 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.7005, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2464/0.947, allocations: 195.1 MB / 1.208 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02129/0.9683, allocations: 14.3 MB / 1.222 GB, free: 288 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.9698, allocations: 43.75 kB / 1.222 GB, free: 244 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.9715, allocations: 0.4968 MB / 1.222 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005026/0.9766, allocations: 1.89 MB / 1.224 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.9792, allocations: 0.846 MB / 1.225 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003648/0.9828, allocations: 2.577 MB / 1.228 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.9845, allocations: 1.111 MB / 1.229 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004642/0.9892, allocations: 1.595 MB / 1.23 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.9911, allocations: 0.9235 MB / 1.231 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.9913, allocations: 108 kB / 1.231 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.9938, allocations: 1.103 MB / 1.232 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005898/0.9944, allocations: 0.491 MB / 1.233 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000924/0.9954, allocations: 0.6455 MB / 1.233 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003062/0.9984, allocations: 1.881 MB / 1.235 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.9984, allocations: 0 / 1.235 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.415e-06/0.9985, allocations: 0 / 1.235 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.042e-05/0.9985, allocations: 0 / 1.235 GB, free: 2.543 MB / 0.9825 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.002572/1.001, allocations: 1.441 MB / 1.237 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.001, allocations: 12.03 kB / 1.237 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/1.003, allocations: 258.3 kB / 1.237 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/1.004, allocations: 0.7531 MB / 1.238 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/1.004, allocations: 74 kB / 1.238 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/1.004, allocations: 88 kB / 1.238 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/1.006, allocations: 1.169 MB / 1.239 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/1.006, allocations: 7.938 kB / 1.239 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.845e-05/1.006, allocations: 39.94 kB / 1.239 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/1.006, allocations: 38 kB / 1.239 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/1.008, allocations: 0.9015 MB / 1.24 GB, free: 13.6 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.00669/1.015, allocations: 5.77 MB / 1.245 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/1.016, allocations: 0.5354 MB / 1.246 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004761/1.016, allocations: 318.6 kB / 1.246 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006771/1.017, allocations: 315.7 kB / 1.247 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/1.017, allocations: 39 kB / 1.247 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=49): time 2.515e-06/1.017, allocations: 0 / 1.247 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.001749/1.019, allocations: 0.8026 MB / 1.247 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/1.019, allocations: 59.84 kB / 1.247 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/1.02, allocations: 0.7548 MB / 1.248 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/1.02, allocations: 37.7 kB / 1.248 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/1.02, allocations: 0.5064 MB / 1.249 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/1.02, allocations: 177.5 kB / 1.249 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/1.021, allocations: 146.5 kB / 1.249 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.021, allocations: 341.9 kB / 1.249 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/1.021, allocations: 249.8 kB / 1.25 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007107/1.022, allocations: 0.5546 MB / 1.25 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.023, allocations: 0.7956 MB / 1.251 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.023, allocations: 4 kB / 1.251 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0014/1.024, allocations: 0.8464 MB / 1.252 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/1.024, allocations: 8 kB / 1.252 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.024, allocations: 15.94 kB / 1.252 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/1.024, allocations: 12 kB / 1.252 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/1.025, allocations: 155.7 kB / 1.252 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/1.025, allocations: 15.94 kB / 1.252 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007337/1.026, allocations: 91.55 kB / 1.252 GB, free: 248 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/1.026, allocations: 43.92 kB / 1.252 GB, free: 204 kB / 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.5805/1.606, allocations: 320.5 kB / 1.252 GB, free: 235.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/1.607, allocations: 84.34 kB / 1.252 GB, free: 235.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.608, allocations: 0.6181 MB / 1.253 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.608, allocations: 6.047 kB / 1.253 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.608, allocations: 1.094 kB / 1.253 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008435/1.609, allocations: 0.5184 MB / 1.254 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/1.612, allocations: 1.672 MB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.612, allocations: 5.719 kB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/1.613, allocations: 108.7 kB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/1.613, allocations: 4.672 kB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/1.613, allocations: 15.89 kB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/1.613, allocations: 3.812 kB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.613, allocations: 2.375 kB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/1.614, allocations: 1.018 MB / 1.256 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/1.615, allocations: 230.9 kB / 1.257 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/1.615, allocations: 14.81 kB / 1.257 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/1.616, allocations: 13.98 kB / 1.257 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/1.616, allocations: 38.33 kB / 1.257 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/1.616, allocations: 19.75 kB / 1.257 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007899/1.616, allocations: 0.51 MB / 1.257 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/1.616, allocations: 0 / 1.257 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001025/1.617, allocations: 295.9 kB / 1.257 GB, free: 233.5 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.0006108/1.618, allocations: 218.9 kB / 1.258 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001402/1.62, allocations: 0.7087 MB / 1.258 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.62, allocations: 1.406 kB / 1.258 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004238/1.62, allocations: 276.8 kB / 1.259 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/1.622, allocations: 444.8 kB / 1.259 GB, free: 233 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/1.626, allocations: 1.948 MB / 1.261 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008927/1.626, allocations: 1.119 MB / 1.262 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00105/1.628, allocations: 269.2 kB / 1.262 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/1.628, allocations: 71.83 kB / 1.262 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.628, allocations: 0 / 1.262 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03146/1.659, allocations: 15.42 MB / 1.277 GB, free: 226.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches