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.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001753/0.001753, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.505/1.505, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.71/2.71, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.89 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7972/0.7986, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2193/1.018, allocations: 192.9 MB / 1.205 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01931/1.037, allocations: 14.4 MB / 1.219 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/1.039, allocations: 35.75 kB / 1.219 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/1.04, allocations: 417.7 kB / 1.219 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005273/1.046, allocations: 1.778 MB / 1.221 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/1.048, allocations: 0.7681 MB / 1.222 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00413/1.052, allocations: 3.622 MB / 1.225 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/1.054, allocations: 0.948 MB / 1.226 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0043/1.058, allocations: 1.437 MB / 1.228 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/1.06, allocations: 0.9622 MB / 1.229 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/1.06, allocations: 60 kB / 1.229 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/1.062, allocations: 1.255 MB / 1.23 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004701/1.063, allocations: 466.7 kB / 1.23 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007019/1.064, allocations: 0.5831 MB / 1.231 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00247/1.066, allocations: 1.924 MB / 1.233 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.066, allocations: 4 kB / 1.233 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.472e-06/1.066, allocations: 0 / 1.233 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.913e-05/1.066, allocations: 0 / 1.233 GB, free: 4.484 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.002284/1.068, allocations: 1.449 MB / 1.234 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/1.069, allocations: 12.03 kB / 1.234 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/1.07, allocations: 254.4 kB / 1.235 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/1.071, allocations: 0.7531 MB / 1.235 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/1.071, allocations: 70 kB / 1.235 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.071, allocations: 91.98 kB / 1.236 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/1.073, allocations: 1.169 MB / 1.237 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/1.073, allocations: 7.938 kB / 1.237 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.073, allocations: 47.92 kB / 1.237 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/1.073, allocations: 34 kB / 1.237 GB, free: 448 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/1.075, allocations: 0.8977 MB / 1.238 GB, free: 15.54 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.005554/1.08, allocations: 5.735 MB / 1.243 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008334/1.081, allocations: 0.5354 MB / 1.244 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/1.082, allocations: 314.6 kB / 1.244 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005871/1.082, allocations: 315.7 kB / 1.244 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/1.082, allocations: 39 kB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=49): time 2.384e-06/1.082, allocations: 0 / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.001486/1.084, allocations: 0.7948 MB / 1.245 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/1.084, allocations: 67.78 kB / 1.245 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008768/1.085, allocations: 0.7509 MB / 1.246 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/1.085, allocations: 37.7 kB / 1.246 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/1.085, allocations: 0.5142 MB / 1.246 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/1.085, allocations: 173.5 kB / 1.247 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/1.085, allocations: 142.5 kB / 1.247 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.086, allocations: 337.9 kB / 1.247 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/1.086, allocations: 245.9 kB / 1.247 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006481/1.087, allocations: 0.5624 MB / 1.248 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/1.088, allocations: 0.8073 MB / 1.249 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.088, allocations: 0 / 1.249 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001313/1.089, allocations: 0.8389 MB / 1.249 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/1.089, allocations: 8.188 kB / 1.25 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/1.089, allocations: 12 kB / 1.25 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.089, allocations: 12 kB / 1.25 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000572/1.09, allocations: 159.7 kB / 1.25 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/1.09, allocations: 15.94 kB / 1.25 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008988/1.091, allocations: 151 kB / 1.25 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.978e-05/1.091, allocations: 35.94 kB / 1.25 GB, free: 2.137 MB / 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.0004315/1.091, allocations: 329.5 kB / 1.25 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/1.091, allocations: 82.97 kB / 1.25 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000983/1.092, allocations: 0.6141 MB / 1.251 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.092, allocations: 8 kB / 1.251 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.092, allocations: 0 / 1.251 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007258/1.093, allocations: 0.525 MB / 1.251 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5875/1.681, allocations: 1.663 MB / 1.253 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.681, allocations: 6.531 kB / 1.253 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/1.681, allocations: 110.3 kB / 1.253 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/1.681, allocations: 4.562 kB / 1.253 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/1.681, allocations: 15.39 kB / 1.253 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/1.681, allocations: 6.297 kB / 1.253 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.681, allocations: 6.406 kB / 1.253 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/1.683, allocations: 1.015 MB / 1.254 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/1.684, allocations: 230.5 kB / 1.254 GB, free: 235 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/1.684, allocations: 13.91 kB / 1.254 GB, free: 235 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006804/1.685, allocations: 68.92 kB / 1.254 GB, free: 235 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.685, allocations: 36.12 kB / 1.254 GB, free: 235 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/1.685, allocations: 21.58 kB / 1.254 GB, free: 235 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001117/1.686, allocations: 0.5096 MB / 1.255 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.686, allocations: 0.7812 kB / 1.255 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001766/1.688, allocations: 296.6 kB / 1.255 GB, free: 234.7 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.0007504/1.688, allocations: 205.4 kB / 1.255 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001405/1.69, allocations: 0.606 MB / 1.256 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.69, allocations: 0.6562 kB / 1.256 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004928/1.69, allocations: 269.4 kB / 1.256 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/1.693, allocations: 441.4 kB / 1.257 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/1.697, allocations: 2.31 MB / 1.259 GB, free: 233 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008909/1.698, allocations: 1.123 MB / 1.26 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001244/1.699, allocations: 270.7 kB / 1.26 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/1.699, allocations: 72.84 kB / 1.26 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.313e-06/1.699, allocations: 4.875 kB / 1.26 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03587/1.735, allocations: 14.94 MB / 1.275 GB, free: 227.9 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=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/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