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.001405/0.001405, allocations: 103.2 kB / 16.27 MB, free: 6.402 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.001663/0.001663, allocations: 188 kB / 17.2 MB, free: 5.938 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.395/1.395, allocations: 222.9 MB / 240.9 MB, free: 15.29 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.505/2.505, allocations: 437 MB / 0.711 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 60.38 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3229, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7353/1.058, allocations: 195.1 MB / 1.208 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0192/1.078, allocations: 14.32 MB / 1.222 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/1.079, allocations: 36.72 kB / 1.222 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/1.081, allocations: 0.4961 MB / 1.223 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005163/1.086, allocations: 1.885 MB / 1.225 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/1.089, allocations: 0.8605 MB / 1.226 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003352/1.092, allocations: 2.561 MB / 1.228 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/1.094, allocations: 1.117 MB / 1.229 GB, free: 1.043 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004761/1.099, allocations: 1.596 MB / 1.231 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/1.101, allocations: 0.921 MB / 1.232 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004095/1.101, allocations: 108 kB / 1.232 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/1.104, allocations: 1.095 MB / 1.233 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00076/1.105, allocations: 0.5026 MB / 1.233 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/1.106, allocations: 0.6261 MB / 1.234 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003391/1.11, allocations: 1.881 MB / 1.236 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-05/1.11, allocations: 0 / 1.236 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.246e-06/1.11, allocations: 0 / 1.236 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.788e-05/1.11, allocations: 8 kB / 1.236 GB, free: 10.31 MB / 0.9356 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.003208/1.113, allocations: 1.449 MB / 1.237 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.113, allocations: 8.031 kB / 1.237 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/1.115, allocations: 250.3 kB / 1.237 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/1.116, allocations: 0.7609 MB / 1.238 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.093e-05/1.116, allocations: 69.94 kB / 1.238 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/1.117, allocations: 92 kB / 1.238 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/1.119, allocations: 1.173 MB / 1.24 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/1.119, allocations: 7.938 kB / 1.24 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.622e-05/1.119, allocations: 40 kB / 1.24 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.994e-05/1.119, allocations: 37.94 kB / 1.24 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/1.121, allocations: 0.9093 MB / 1.241 GB, free: 5.355 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.006889/1.127, allocations: 5.766 MB / 1.246 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009182/1.128, allocations: 0.5355 MB / 1.247 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/1.129, allocations: 318.6 kB / 1.247 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006364/1.13, allocations: 307.7 kB / 1.247 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/1.13, allocations: 42.94 kB / 1.247 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=49): time 3.417e-06/1.13, allocations: 0 / 1.247 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.001708/1.131, allocations: 0.8026 MB / 1.248 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/1.131, allocations: 59.84 kB / 1.248 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/1.133, allocations: 0.7431 MB / 1.249 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.71e-05/1.133, allocations: 41.64 kB / 1.249 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000442/1.133, allocations: 0.5104 MB / 1.249 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/1.133, allocations: 177.5 kB / 1.25 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/1.134, allocations: 138.6 kB / 1.25 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.134, allocations: 337.9 kB / 1.25 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/1.134, allocations: 245.8 kB / 1.25 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006686/1.135, allocations: 0.5701 MB / 1.251 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000991/1.136, allocations: 0.7879 MB / 1.252 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.136, allocations: 4 kB / 1.252 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001405/1.137, allocations: 0.8545 MB / 1.252 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.137, allocations: 11.98 kB / 1.252 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.137, allocations: 8 kB / 1.252 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/1.137, allocations: 12 kB / 1.252 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/1.138, allocations: 155.8 kB / 1.253 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.874e-05/1.138, allocations: 16.64 kB / 1.253 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008441/1.139, allocations: 95.03 kB / 1.253 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/1.139, allocations: 32 kB / 1.253 GB, free: 7.98 MB / 0.9512 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.000495/1.139, allocations: 337.4 kB / 1.253 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/1.14, allocations: 90.97 kB / 1.253 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/1.141, allocations: 0.614 MB / 1.254 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.141, allocations: 4 kB / 1.254 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.141, allocations: 0 / 1.254 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007305/1.141, allocations: 0.5173 MB / 1.254 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/1.144, allocations: 1.675 MB / 1.256 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.144, allocations: 0 / 1.256 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/1.145, allocations: 116 kB / 1.256 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/1.145, allocations: 11.94 kB / 1.256 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/1.145, allocations: 12 kB / 1.256 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/1.145, allocations: 4 kB / 1.256 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.145, allocations: 7.938 kB / 1.256 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/1.146, allocations: 1.011 MB / 1.257 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/1.147, allocations: 231.8 kB / 1.257 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/1.147, allocations: 12 kB / 1.257 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/1.147, allocations: 21.23 kB / 1.257 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/1.147, allocations: 35.95 kB / 1.257 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/1.148, allocations: 20 kB / 1.257 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007493/1.148, allocations: 0.5068 MB / 1.258 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.148, allocations: 0 / 1.258 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001038/1.149, allocations: 303.3 kB / 1.258 GB, free: 2.316 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.000582/1.15, allocations: 206.6 kB / 1.258 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001319/1.151, allocations: 0.7234 MB / 1.259 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.151, allocations: 1.875 kB / 1.259 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003857/1.152, allocations: 267.7 kB / 1.259 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/1.154, allocations: 446.4 kB / 1.26 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/1.157, allocations: 2.038 MB / 1.262 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009034/1.158, allocations: 1.122 MB / 1.263 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/1.159, allocations: 83.41 kB / 1.263 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of SimCode: time 4.7e-07/1.159, allocations: 0 / 1.263 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of Templates: time 0.02369/1.182, allocations: 14.52 MB / 1.277 GB, free: 14.98 MB / 0.9825 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