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.001344/0.001344, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001434/0.001434, allocations: 187 kB / 17.34 MB, free: 5.762 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.329/1.329, 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.1-maint.10.0.x/package.mo): time 2.433/2.433, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 59.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8542/0.8557, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2094/1.065, allocations: 195.1 MB / 1.358 GB, free: 20 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01731/1.082, allocations: 14.33 MB / 1.372 GB, free: 1.652 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/1.084, allocations: 39.81 kB / 1.372 GB, free: 1.613 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/1.085, allocations: 0.5046 MB / 1.372 GB, free: 1.105 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004576/1.09, allocations: 1.969 MB / 1.374 GB, free: 15.12 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/1.092, allocations: 0.8678 MB / 1.375 GB, free: 14.26 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003398/1.096, allocations: 2.581 MB / 1.378 GB, free: 11.68 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/1.097, allocations: 1.111 MB / 1.379 GB, free: 10.54 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004032/1.101, allocations: 1.645 MB / 1.38 GB, free: 8.906 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/1.103, allocations: 0.9252 MB / 1.381 GB, free: 7.98 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001632/1.103, allocations: 108 kB / 1.381 GB, free: 7.875 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/1.105, allocations: 1.107 MB / 1.382 GB, free: 6.766 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004935/1.106, allocations: 0.4948 MB / 1.383 GB, free: 6.27 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006878/1.106, allocations: 0.6416 MB / 1.384 GB, free: 5.625 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/1.109, allocations: 1.905 MB / 1.385 GB, free: 3.715 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.109, allocations: 0 / 1.385 GB, free: 3.715 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.162e-06/1.109, allocations: 0 / 1.385 GB, free: 3.715 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.363e-05/1.109, allocations: 0 / 1.385 GB, free: 3.715 MB / 1.107 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.002345/1.112, allocations: 1.449 MB / 1.387 GB, free: 2.215 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/1.112, allocations: 8.031 kB / 1.387 GB, free: 2.207 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/1.113, allocations: 262.3 kB / 1.387 GB, free: 1.949 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/1.114, allocations: 0.7882 MB / 1.388 GB, free: 1.117 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/1.114, allocations: 74 kB / 1.388 GB, free: 1.047 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/1.115, allocations: 95.89 kB / 1.388 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/1.116, allocations: 1.173 MB / 1.389 GB, free: 15.71 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/1.116, allocations: 3.938 kB / 1.389 GB, free: 15.7 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/1.116, allocations: 39.94 kB / 1.389 GB, free: 15.66 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/1.116, allocations: 38 kB / 1.389 GB, free: 15.63 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/1.118, allocations: 0.9054 MB / 1.39 GB, free: 14.72 MB / 1.123 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.005981/1.124, allocations: 5.735 MB / 1.396 GB, free: 8.531 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/1.125, allocations: 0.5354 MB / 1.396 GB, free: 7.988 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/1.125, allocations: 318.6 kB / 1.397 GB, free: 7.676 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/1.126, allocations: 315.7 kB / 1.397 GB, free: 7.312 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/1.126, allocations: 39 kB / 1.397 GB, free: 7.266 MB / 1.123 GB Notification: Performance of pre-optimization done (n=49): time 2.575e-06/1.126, allocations: 0 / 1.397 GB, free: 7.266 MB / 1.123 GB Notification: Performance of matching and sorting (n=49): time 0.001536/1.127, allocations: 0.8065 MB / 1.398 GB, free: 6.453 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/1.127, allocations: 59.84 kB / 1.398 GB, free: 6.383 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008941/1.128, allocations: 0.7508 MB / 1.398 GB, free: 5.621 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/1.128, allocations: 33.7 kB / 1.398 GB, free: 5.582 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/1.129, allocations: 0.5104 MB / 1.399 GB, free: 5.062 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/1.129, allocations: 181.5 kB / 1.399 GB, free: 4.883 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/1.129, allocations: 138.5 kB / 1.399 GB, free: 4.742 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.129, allocations: 341.9 kB / 1.4 GB, free: 4.402 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/1.13, allocations: 245.9 kB / 1.4 GB, free: 4.164 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000608/1.13, allocations: 0.5585 MB / 1.4 GB, free: 3.473 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009817/1.131, allocations: 0.7956 MB / 1.401 GB, free: 2.566 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.131, allocations: 0 / 1.401 GB, free: 2.566 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001246/1.132, allocations: 0.8506 MB / 1.402 GB, free: 1.707 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/1.133, allocations: 8 kB / 1.402 GB, free: 1.699 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.133, allocations: 8 kB / 1.402 GB, free: 1.691 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/1.133, allocations: 12 kB / 1.402 GB, free: 1.68 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/1.133, allocations: 155.8 kB / 1.402 GB, free: 1.527 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/1.133, allocations: 19.92 kB / 1.402 GB, free: 1.508 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/1.134, allocations: 91.27 kB / 1.402 GB, free: 1.418 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/1.134, allocations: 39.94 kB / 1.402 GB, free: 1.379 MB / 1.123 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.0004509/1.134, allocations: 333.5 kB / 1.403 GB, free: 1.043 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/1.135, allocations: 82.97 kB / 1.403 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009934/1.136, allocations: 0.6141 MB / 1.403 GB, free: 344 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/1.136, allocations: 8 kB / 1.403 GB, free: 336 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.136, allocations: 0 / 1.403 GB, free: 336 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007009/1.136, allocations: 0.5172 MB / 1.404 GB, free: 15.8 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/1.139, allocations: 1.671 MB / 1.405 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.139, allocations: 8.156 kB / 1.405 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/1.139, allocations: 115.8 kB / 1.406 GB, free: 13.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/1.139, allocations: 4 kB / 1.406 GB, free: 13.92 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/1.139, allocations: 16 kB / 1.406 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/1.139, allocations: 4 kB / 1.406 GB, free: 13.9 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.139, allocations: 0 / 1.406 GB, free: 13.9 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/1.141, allocations: 1.023 MB / 1.407 GB, free: 12.84 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/1.141, allocations: 231.9 kB / 1.407 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/1.141, allocations: 8 kB / 1.407 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/1.142, allocations: 23.98 kB / 1.407 GB, free: 12.56 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/1.142, allocations: 39.89 kB / 1.407 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/1.142, allocations: 16 kB / 1.407 GB, free: 12.51 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006741/1.143, allocations: 0.5107 MB / 1.407 GB, free: 12 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.143, allocations: 0 / 1.407 GB, free: 12 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008988/1.143, allocations: 295.3 kB / 1.408 GB, free: 11.71 MB / 1.139 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.0004881/1.144, allocations: 219.1 kB / 1.408 GB, free: 11.5 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009844/1.145, allocations: 0.6044 MB / 1.408 GB, free: 10.91 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.145, allocations: 0 / 1.408 GB, free: 10.91 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003896/1.145, allocations: 283.9 kB / 1.409 GB, free: 10.63 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/1.147, allocations: 438 kB / 1.409 GB, free: 10.21 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/1.151, allocations: 1.992 MB / 1.411 GB, free: 8.16 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008633/1.151, allocations: 1.126 MB / 1.412 GB, free: 7.008 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/1.152, allocations: 75.42 kB / 1.412 GB, free: 6.934 MB / 1.139 GB Notification: Performance of SimCode: time 5.11e-07/1.152, allocations: 3.938 kB / 1.412 GB, free: 6.93 MB / 1.139 GB Notification: Performance of Templates: time 0.02247/1.174, allocations: 14.64 MB / 1.427 GB, free: 8.414 MB / 1.154 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 -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