Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001643/0.001643, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001713/0.001713, allocations: 194.2 kB / 16.26 MB, free: 6.637 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7569/0.7584, allocations: 140.4 MB / 0.9491 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2316/0.9901, allocations: 192.6 MB / 1.137 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.018/1.008, allocations: 14.21 MB / 1.151 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/1.01, allocations: 31.81 kB / 1.151 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/1.012, allocations: 445.7 kB / 1.152 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005572/1.017, allocations: 1.762 MB / 1.153 GB, free: 316 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/1.02, allocations: 0.7958 MB / 1.154 GB, free: 15.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003719/1.024, allocations: 2.564 MB / 1.157 GB, free: 12.95 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/1.026, allocations: 1.064 MB / 1.158 GB, free: 11.86 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005082/1.031, allocations: 1.599 MB / 1.159 GB, free: 10.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/1.033, allocations: 0.9845 MB / 1.16 GB, free: 9.289 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/1.033, allocations: 112 kB / 1.16 GB, free: 9.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/1.035, allocations: 1.142 MB / 1.161 GB, free: 8.035 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000509/1.036, allocations: 0.5065 MB / 1.162 GB, free: 7.527 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007022/1.036, allocations: 0.6338 MB / 1.162 GB, free: 6.891 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003296/1.04, allocations: 1.963 MB / 1.164 GB, free: 4.922 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/1.04, allocations: 4 kB / 1.164 GB, free: 4.918 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.376e-06/1.04, allocations: 0 / 1.164 GB, free: 4.918 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.784e-05/1.04, allocations: 4 kB / 1.164 GB, free: 4.914 MB / 0.92 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.003115/1.043, allocations: 1.441 MB / 1.166 GB, free: 3.418 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/1.043, allocations: 12.03 kB / 1.166 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/1.045, allocations: 254.3 kB / 1.166 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/1.046, allocations: 0.757 MB / 1.167 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.909e-05/1.046, allocations: 70 kB / 1.167 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/1.046, allocations: 92 kB / 1.167 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/1.048, allocations: 1.165 MB / 1.168 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/1.048, allocations: 7.938 kB / 1.168 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-05/1.048, allocations: 43.94 kB / 1.168 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.822e-05/1.048, allocations: 37.98 kB / 1.168 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/1.05, allocations: 0.9015 MB / 1.169 GB, free: 15.97 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.006115/1.056, allocations: 5.731 MB / 1.175 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008455/1.057, allocations: 0.5277 MB / 1.175 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/1.057, allocations: 318.6 kB / 1.175 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005785/1.058, allocations: 311.7 kB / 1.176 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/1.058, allocations: 43 kB / 1.176 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=49): time 3.347e-06/1.058, allocations: 0 / 1.176 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.001502/1.059, allocations: 0.7987 MB / 1.177 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/1.059, allocations: 59.84 kB / 1.177 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000876/1.06, allocations: 0.7471 MB / 1.177 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/1.06, allocations: 37.7 kB / 1.177 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/1.061, allocations: 0.5143 MB / 1.178 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/1.061, allocations: 177.5 kB / 1.178 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/1.061, allocations: 138.6 kB / 1.178 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.061, allocations: 337.9 kB / 1.178 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/1.062, allocations: 245.9 kB / 1.179 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/1.062, allocations: 0.5547 MB / 1.179 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009502/1.063, allocations: 0.8034 MB / 1.18 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.063, allocations: 4 kB / 1.18 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001299/1.064, allocations: 0.8458 MB / 1.181 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.064, allocations: 9 kB / 1.181 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.064, allocations: 8 kB / 1.181 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/1.065, allocations: 16 kB / 1.181 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/1.065, allocations: 151.8 kB / 1.181 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.002e-05/1.065, allocations: 19.92 kB / 1.181 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009361/1.066, allocations: 151 kB / 1.181 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/1.066, allocations: 35.94 kB / 1.181 GB, free: 2.59 MB / 0.9356 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.0004975/1.067, allocations: 330 kB / 1.182 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/1.067, allocations: 82.97 kB / 1.182 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/1.068, allocations: 0.6258 MB / 1.182 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.068, allocations: 4 kB / 1.182 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.068, allocations: 4 kB / 1.182 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007709/1.069, allocations: 0.5212 MB / 1.183 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/1.071, allocations: 1.667 MB / 1.184 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.071, allocations: 8 kB / 1.184 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005356/1.072, allocations: 115.8 kB / 1.184 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/1.072, allocations: 4 kB / 1.185 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/1.072, allocations: 8 kB / 1.185 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/1.072, allocations: 4 kB / 1.185 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.072, allocations: 4 kB / 1.185 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/1.073, allocations: 1.019 MB / 1.186 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/1.073, allocations: 227.8 kB / 1.186 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.073, allocations: 15.98 kB / 1.186 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/1.074, allocations: 64.64 kB / 1.186 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/1.074, allocations: 35.89 kB / 1.186 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/1.074, allocations: 16 kB / 1.186 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006176/1.075, allocations: 0.5185 MB / 1.186 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.075, allocations: 0 / 1.186 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009502/1.076, allocations: 299.3 kB / 1.187 GB, free: 12.88 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.0005397/1.076, allocations: 214.7 kB / 1.187 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001297/1.078, allocations: 0.7096 MB / 1.188 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.078, allocations: 4.125 kB / 1.188 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003692/1.078, allocations: 275.6 kB / 1.188 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/1.08, allocations: 441.8 kB / 1.188 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/1.083, allocations: 2.311 MB / 1.19 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007841/1.084, allocations: 1.118 MB / 1.192 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009317/1.085, allocations: 275.1 kB / 1.192 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/1.085, allocations: 71.42 kB / 1.192 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of SimCode: time 7.91e-07/1.085, allocations: 0 / 1.192 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of Templates: time 0.02867/1.114, allocations: 15.34 MB / 1.207 GB, free: 8.32 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches