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.001682/0.001682, allocations: 102.2 kB / 16.4 MB, free: 6.465 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.001875/0.001875, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 63.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.8321, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2456/1.078, allocations: 195.1 MB / 1.279 GB, free: 10.64 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02011/1.098, allocations: 14.32 MB / 1.293 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/1.1, allocations: 35.81 kB / 1.293 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002095/1.102, allocations: 0.5007 MB / 1.294 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005903/1.108, allocations: 1.972 MB / 1.296 GB, free: 9.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/1.111, allocations: 0.8693 MB / 1.296 GB, free: 8.906 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003964/1.115, allocations: 2.581 MB / 1.299 GB, free: 6.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/1.117, allocations: 1.111 MB / 1.3 GB, free: 5.188 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004912/1.122, allocations: 1.651 MB / 1.302 GB, free: 3.547 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/1.124, allocations: 0.9303 MB / 1.303 GB, free: 2.613 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004369/1.124, allocations: 108 kB / 1.303 GB, free: 2.508 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/1.127, allocations: 1.107 MB / 1.304 GB, free: 1.398 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008137/1.128, allocations: 0.4987 MB / 1.304 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001559/1.13, allocations: 0.6261 MB / 1.305 GB, free: 276 kB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003803/1.134, allocations: 1.912 MB / 1.307 GB, free: 14.35 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.134, allocations: 0 / 1.307 GB, free: 14.35 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.864e-06/1.134, allocations: 0 / 1.307 GB, free: 14.35 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.167e-05/1.134, allocations: 0 / 1.307 GB, free: 14.35 MB / 1.045 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.00323/1.137, allocations: 1.453 MB / 1.308 GB, free: 12.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/1.137, allocations: 8.031 kB / 1.308 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/1.138, allocations: 254.4 kB / 1.308 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/1.14, allocations: 0.7882 MB / 1.309 GB, free: 11.76 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/1.14, allocations: 73.98 kB / 1.309 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/1.14, allocations: 92 kB / 1.309 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/1.142, allocations: 1.173 MB / 1.31 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/1.142, allocations: 3.938 kB / 1.31 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/1.142, allocations: 43.94 kB / 1.311 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/1.142, allocations: 30 kB / 1.311 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/1.143, allocations: 0.9015 MB / 1.311 GB, free: 9.371 MB / 1.045 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.005659/1.149, allocations: 5.746 MB / 1.317 GB, free: 3.168 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/1.15, allocations: 0.5495 MB / 1.318 GB, free: 2.609 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/1.15, allocations: 310.6 kB / 1.318 GB, free: 2.305 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005657/1.151, allocations: 319.7 kB / 1.318 GB, free: 1.938 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/1.151, allocations: 39 kB / 1.318 GB, free: 1.891 MB / 1.045 GB Notification: Performance of pre-optimization done (n=49): time 3.055e-06/1.151, allocations: 0 / 1.318 GB, free: 1.891 MB / 1.045 GB Notification: Performance of matching and sorting (n=49): time 0.001606/1.153, allocations: 0.8026 MB / 1.319 GB, free: 1.082 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/1.153, allocations: 63.83 kB / 1.319 GB, free: 1.008 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008864/1.153, allocations: 0.7508 MB / 1.32 GB, free: 256 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/1.154, allocations: 33.7 kB / 1.32 GB, free: 216 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/1.154, allocations: 0.5105 MB / 1.32 GB, free: 15.69 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/1.154, allocations: 177.4 kB / 1.32 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/1.154, allocations: 142.5 kB / 1.321 GB, free: 15.37 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.154, allocations: 337.9 kB / 1.321 GB, free: 15.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/1.155, allocations: 245.8 kB / 1.321 GB, free: 14.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/1.155, allocations: 0.5624 MB / 1.322 GB, free: 14.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009682/1.156, allocations: 0.7956 MB / 1.322 GB, free: 13.19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/1.156, allocations: 4 kB / 1.323 GB, free: 13.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001268/1.158, allocations: 0.839 MB / 1.323 GB, free: 12.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/1.158, allocations: 9.719 kB / 1.323 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.158, allocations: 8 kB / 1.323 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/1.158, allocations: 16.03 kB / 1.323 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/1.158, allocations: 159.7 kB / 1.324 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/1.158, allocations: 15.94 kB / 1.324 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007155/1.159, allocations: 95.12 kB / 1.324 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/1.159, allocations: 39.92 kB / 1.324 GB, free: 12 MB / 1.061 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.0004606/1.16, allocations: 325.5 kB / 1.324 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/1.16, allocations: 90.95 kB / 1.324 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/1.161, allocations: 0.6218 MB / 1.325 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/1.161, allocations: 4 kB / 1.325 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.161, allocations: 0 / 1.325 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006881/1.161, allocations: 0.5172 MB / 1.325 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/1.164, allocations: 1.659 MB / 1.327 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.164, allocations: 7.938 kB / 1.327 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/1.164, allocations: 107.8 kB / 1.327 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.164, allocations: 7.984 kB / 1.327 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/1.164, allocations: 16 kB / 1.327 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/1.164, allocations: 8.219 kB / 1.327 GB, free: 8.539 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.164, allocations: 4 kB / 1.327 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/1.166, allocations: 1.023 MB / 1.328 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/1.166, allocations: 231.9 kB / 1.328 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.166, allocations: 12 kB / 1.328 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/1.167, allocations: 15.98 kB / 1.328 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/1.167, allocations: 35.91 kB / 1.328 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/1.167, allocations: 19.98 kB / 1.328 GB, free: 7.145 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006535/1.168, allocations: 0.5146 MB / 1.329 GB, free: 6.633 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.51e-07/1.168, allocations: 0 / 1.329 GB, free: 6.633 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001011/1.169, allocations: 291.4 kB / 1.329 GB, free: 6.348 MB / 1.061 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.0005751/1.169, allocations: 218.8 kB / 1.329 GB, free: 6.137 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.17, allocations: 0.6074 MB / 1.33 GB, free: 5.531 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.17, allocations: 0 / 1.33 GB, free: 5.531 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/1.171, allocations: 271.7 kB / 1.33 GB, free: 5.266 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/1.173, allocations: 436.9 kB / 1.33 GB, free: 4.844 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/1.176, allocations: 2.007 MB / 1.332 GB, free: 2.781 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009034/1.177, allocations: 1.129 MB / 1.334 GB, free: 1.625 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/1.178, allocations: 75.42 kB / 1.334 GB, free: 1.551 MB / 1.061 GB Notification: Performance of SimCode: time 7.71e-07/1.178, allocations: 4 kB / 1.334 GB, free: 1.547 MB / 1.061 GB Notification: Performance of Templates: time 0.02427/1.202, allocations: 14.63 MB / 1.348 GB, free: 3.043 MB / 1.076 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches