Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001519/0.001519, allocations: 102.8 kB / 16.36 MB, free: 6.469 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.001574/0.001574, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.466/2.466, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.41 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.344, allocations: 153 MB / 1.027 GB, free: 2.121 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9215/1.266, allocations: 195.1 MB / 1.217 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01704/1.283, allocations: 14.31 MB / 1.231 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/1.284, allocations: 40.84 kB / 1.231 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/1.286, allocations: 0.4936 MB / 1.232 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004988/1.291, allocations: 1.891 MB / 1.234 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002322/1.293, allocations: 0.8753 MB / 1.234 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003158/1.297, allocations: 2.571 MB / 1.237 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/1.298, allocations: 1.111 MB / 1.238 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00424/1.302, allocations: 1.603 MB / 1.24 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/1.304, allocations: 0.9276 MB / 1.241 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/1.304, allocations: 104 kB / 1.241 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/1.307, allocations: 1.099 MB / 1.242 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005113/1.307, allocations: 0.4987 MB / 1.242 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008047/1.308, allocations: 0.63 MB / 1.243 GB, free: 204 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003077/1.311, allocations: 1.908 MB / 1.245 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.311, allocations: 0 / 1.245 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.174e-06/1.311, allocations: 0 / 1.245 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.221e-05/1.311, allocations: 0 / 1.245 GB, free: 14.29 MB / 0.9512 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.002381/1.313, allocations: 1.449 MB / 1.246 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.314, allocations: 12.02 kB / 1.246 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/1.315, allocations: 254.3 kB / 1.246 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/1.316, allocations: 0.7881 MB / 1.247 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/1.316, allocations: 74 kB / 1.247 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/1.317, allocations: 91.98 kB / 1.247 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/1.318, allocations: 1.173 MB / 1.248 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/1.318, allocations: 3.938 kB / 1.248 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/1.318, allocations: 36 kB / 1.248 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-05/1.318, allocations: 45.92 kB / 1.248 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/1.32, allocations: 0.8976 MB / 1.249 GB, free: 9.301 MB / 0.9512 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.00558/1.325, allocations: 5.754 MB / 1.255 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/1.326, allocations: 0.5362 MB / 1.256 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/1.327, allocations: 315.1 kB / 1.256 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006274/1.327, allocations: 311.7 kB / 1.256 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/1.327, allocations: 43 kB / 1.256 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=49): time 3.095e-06/1.327, allocations: 0 / 1.256 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.00156/1.329, allocations: 0.7948 MB / 1.257 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/1.329, allocations: 63.78 kB / 1.257 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009014/1.33, allocations: 0.7509 MB / 1.258 GB, free: 192 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/1.33, allocations: 37.7 kB / 1.258 GB, free: 148 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/1.33, allocations: 0.5065 MB / 1.258 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/1.331, allocations: 181.4 kB / 1.258 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/1.331, allocations: 142.5 kB / 1.259 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001983/1.331, allocations: 337.9 kB / 1.259 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/1.331, allocations: 245.9 kB / 1.259 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/1.332, allocations: 0.5546 MB / 1.26 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000989/1.333, allocations: 0.8034 MB / 1.26 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/1.333, allocations: 0 / 1.26 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001261/1.334, allocations: 0.8422 MB / 1.261 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.334, allocations: 8 kB / 1.261 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.334, allocations: 8 kB / 1.261 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/1.334, allocations: 12.75 kB / 1.261 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/1.335, allocations: 155.7 kB / 1.261 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/1.335, allocations: 19.94 kB / 1.261 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007569/1.336, allocations: 87.11 kB / 1.262 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.347e-05/1.336, allocations: 36 kB / 1.262 GB, free: 11.96 MB / 0.9669 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.0005383/1.336, allocations: 337.4 kB / 1.262 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/1.337, allocations: 82.97 kB / 1.262 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009964/1.338, allocations: 0.618 MB / 1.263 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.338, allocations: 11.98 kB / 1.263 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.338, allocations: 0 / 1.263 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000689/1.338, allocations: 0.5172 MB / 1.263 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/1.341, allocations: 1.671 MB / 1.265 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.341, allocations: 4 kB / 1.265 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/1.342, allocations: 111.8 kB / 1.265 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/1.342, allocations: 4 kB / 1.265 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/1.342, allocations: 19.98 kB / 1.265 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/1.342, allocations: 7.938 kB / 1.265 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.342, allocations: 0 / 1.265 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/1.343, allocations: 1.019 MB / 1.266 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/1.343, allocations: 227.9 kB / 1.266 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/1.344, allocations: 12 kB / 1.266 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/1.344, allocations: 20.08 kB / 1.266 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/1.344, allocations: 35.94 kB / 1.266 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/1.344, allocations: 19.98 kB / 1.266 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006413/1.345, allocations: 0.5107 MB / 1.267 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/1.345, allocations: 0 / 1.267 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009461/1.346, allocations: 299.3 kB / 1.267 GB, free: 6.285 MB / 0.9669 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.0005399/1.346, allocations: 205.2 kB / 1.267 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009856/1.347, allocations: 0.6163 MB / 1.268 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.347, allocations: 8 kB / 1.268 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/1.348, allocations: 271.5 kB / 1.268 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/1.349, allocations: 442.1 kB / 1.268 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/1.353, allocations: 1.93 MB / 1.27 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/1.353, allocations: 1.118 MB / 1.271 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007564/1.354, allocations: 267.1 kB / 1.272 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/1.354, allocations: 71.42 kB / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of SimCode: time 8.72e-07/1.354, allocations: 3.938 kB / 1.272 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of Templates: time 0.02983/1.384, allocations: 15.4 MB / 1.287 GB, free: 2.141 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches