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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001445/0.001445, allocations: 103.2 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.375/2.375, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.14 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3047, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6943/0.999, allocations: 195.1 MB / 1.209 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01718/1.016, allocations: 14.31 MB / 1.223 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/1.018, allocations: 36.97 kB / 1.223 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001772/1.02, allocations: 497.5 kB / 1.224 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005734/1.026, allocations: 1.899 MB / 1.226 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/1.028, allocations: 0.8715 MB / 1.226 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003884/1.032, allocations: 2.561 MB / 1.229 GB, free: 1.547 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/1.034, allocations: 1.121 MB / 1.23 GB, free: 468 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/1.038, allocations: 1.602 MB / 1.232 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/1.039, allocations: 0.9231 MB / 1.233 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/1.04, allocations: 108 kB / 1.233 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/1.042, allocations: 1.095 MB / 1.234 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004582/1.042, allocations: 0.5026 MB / 1.234 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006778/1.043, allocations: 0.63 MB / 1.235 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002205/1.045, allocations: 1.908 MB / 1.237 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/1.045, allocations: 0 / 1.237 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.795e-06/1.045, allocations: 8 kB / 1.237 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.933e-05/1.045, allocations: 0 / 1.237 GB, free: 9.688 MB / 0.9356 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.002108/1.047, allocations: 1.446 MB / 1.238 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.047, allocations: 12.02 kB / 1.238 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/1.049, allocations: 250.3 kB / 1.238 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/1.05, allocations: 0.7881 MB / 1.239 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/1.05, allocations: 74 kB / 1.239 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/1.05, allocations: 95.98 kB / 1.239 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/1.052, allocations: 1.165 MB / 1.24 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/1.052, allocations: 3.938 kB / 1.24 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/1.052, allocations: 43.98 kB / 1.24 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.397e-05/1.052, allocations: 41.92 kB / 1.241 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/1.054, allocations: 0.9016 MB / 1.241 GB, free: 4.707 MB / 0.9356 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.005725/1.059, allocations: 5.743 MB / 1.247 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008245/1.06, allocations: 0.5427 MB / 1.248 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/1.061, allocations: 318.6 kB / 1.248 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006021/1.061, allocations: 311.7 kB / 1.248 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/1.061, allocations: 39 kB / 1.248 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=49): time 2.585e-06/1.061, allocations: 0 / 1.248 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.001513/1.063, allocations: 0.7987 MB / 1.249 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/1.063, allocations: 59.78 kB / 1.249 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/1.064, allocations: 0.7587 MB / 1.25 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/1.064, allocations: 37.7 kB / 1.25 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/1.064, allocations: 0.5065 MB / 1.25 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/1.064, allocations: 177.5 kB / 1.25 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/1.064, allocations: 142.6 kB / 1.251 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.065, allocations: 337.9 kB / 1.251 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/1.065, allocations: 241.9 kB / 1.251 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000618/1.066, allocations: 0.5546 MB / 1.252 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009756/1.067, allocations: 0.8034 MB / 1.252 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/1.067, allocations: 4 kB / 1.252 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001216/1.068, allocations: 0.8427 MB / 1.253 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.068, allocations: 16.12 kB / 1.253 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.068, allocations: 8 kB / 1.253 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/1.068, allocations: 12 kB / 1.253 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/1.068, allocations: 155.7 kB / 1.253 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/1.068, allocations: 15.94 kB / 1.253 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/1.069, allocations: 87.11 kB / 1.254 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/1.069, allocations: 40 kB / 1.254 GB, free: 7.348 MB / 0.9512 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.0004102/1.07, allocations: 337.4 kB / 1.254 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/1.07, allocations: 86.97 kB / 1.254 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009794/1.071, allocations: 0.6102 MB / 1.255 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.071, allocations: 7.984 kB / 1.255 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.071, allocations: 0 / 1.255 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006764/1.071, allocations: 0.5211 MB / 1.255 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/1.074, allocations: 1.671 MB / 1.257 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.074, allocations: 0 / 1.257 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/1.075, allocations: 119.8 kB / 1.257 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/1.075, allocations: 4.219 kB / 1.257 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/1.075, allocations: 19.98 kB / 1.257 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/1.075, allocations: 4 kB / 1.257 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.075, allocations: 4 kB / 1.257 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/1.076, allocations: 1.015 MB / 1.258 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/1.076, allocations: 227.8 kB / 1.258 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.076, allocations: 16 kB / 1.258 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/1.077, allocations: 12 kB / 1.258 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/1.077, allocations: 31.95 kB / 1.258 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/1.077, allocations: 27.98 kB / 1.258 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006065/1.078, allocations: 0.5107 MB / 1.259 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.078, allocations: 0 / 1.259 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008369/1.078, allocations: 299.3 kB / 1.259 GB, free: 1.684 MB / 0.9512 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.0005341/1.079, allocations: 214.3 kB / 1.259 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009308/1.08, allocations: 0.6147 MB / 1.26 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.08, allocations: 0 / 1.26 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/1.08, allocations: 273.2 kB / 1.26 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/1.082, allocations: 449.8 kB / 1.26 GB, free: 180 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/1.085, allocations: 1.927 MB / 1.262 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/1.086, allocations: 1.122 MB / 1.263 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006746/1.086, allocations: 263.1 kB / 1.264 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/1.087, allocations: 75.42 kB / 1.264 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/1.087, allocations: 0 / 1.264 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of Templates: time 0.02604/1.113, allocations: 15.38 MB / 1.279 GB, free: 13.57 MB / 0.9825 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=480 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches