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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001308/0.001308, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001312/0.001312, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.436/1.436, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 469.4 MB / 0.7427 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.75 kB / 0.9088 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3256, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7575/1.083, allocations: 195.1 MB / 1.255 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0188/1.102, allocations: 14.31 MB / 1.269 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/1.104, allocations: 35.81 kB / 1.269 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001975/1.106, allocations: 0.4929 MB / 1.269 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006318/1.112, allocations: 1.891 MB / 1.271 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002884/1.115, allocations: 0.8494 MB / 1.272 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003678/1.119, allocations: 2.575 MB / 1.274 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/1.12, allocations: 1.117 MB / 1.276 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004488/1.125, allocations: 1.589 MB / 1.277 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/1.127, allocations: 0.9266 MB / 1.278 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003978/1.127, allocations: 108 kB / 1.278 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/1.13, allocations: 1.091 MB / 1.279 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008862/1.131, allocations: 0.4987 MB / 1.28 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001612/1.132, allocations: 0.6377 MB / 1.28 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003738/1.136, allocations: 1.881 MB / 1.282 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.136, allocations: 7.938 kB / 1.282 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/1.136, allocations: 0 / 1.282 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.346e-05/1.136, allocations: 4 kB / 1.282 GB, free: 9.934 MB / 0.9981 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.003214/1.14, allocations: 1.453 MB / 1.284 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.14, allocations: 8.031 kB / 1.284 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/1.141, allocations: 246.4 kB / 1.284 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/1.143, allocations: 0.757 MB / 1.285 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.078e-05/1.143, allocations: 69.94 kB / 1.285 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/1.143, allocations: 96 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/1.145, allocations: 1.169 MB / 1.286 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/1.145, allocations: 4 kB / 1.286 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.216e-05/1.145, allocations: 40 kB / 1.286 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/1.145, allocations: 37.94 kB / 1.286 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/1.146, allocations: 0.9093 MB / 1.287 GB, free: 4.984 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.006534/1.153, allocations: 5.774 MB / 1.292 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008931/1.154, allocations: 0.5316 MB / 1.293 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/1.154, allocations: 326.5 kB / 1.293 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006101/1.155, allocations: 315.7 kB / 1.294 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/1.155, allocations: 42.94 kB / 1.294 GB, free: 13.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 3.096e-06/1.155, allocations: 0 / 1.294 GB, free: 13.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.00157/1.157, allocations: 0.7948 MB / 1.294 GB, free: 12.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/1.157, allocations: 55.84 kB / 1.294 GB, free: 12.61 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/1.158, allocations: 0.7587 MB / 1.295 GB, free: 11.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/1.158, allocations: 37.7 kB / 1.295 GB, free: 11.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/1.158, allocations: 0.5064 MB / 1.296 GB, free: 11.28 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/1.158, allocations: 173.5 kB / 1.296 GB, free: 11.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/1.159, allocations: 146.5 kB / 1.296 GB, free: 10.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.159, allocations: 333.9 kB / 1.296 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/1.159, allocations: 245.9 kB / 1.297 GB, free: 10.38 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/1.16, allocations: 0.5546 MB / 1.297 GB, free: 9.695 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009952/1.161, allocations: 0.7957 MB / 1.298 GB, free: 8.793 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/1.161, allocations: 4 kB / 1.298 GB, free: 8.789 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001366/1.162, allocations: 0.8507 MB / 1.299 GB, free: 7.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.162, allocations: 12.03 kB / 1.299 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/1.162, allocations: 8 kB / 1.299 GB, free: 7.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/1.162, allocations: 12 kB / 1.299 GB, free: 7.898 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/1.163, allocations: 155.7 kB / 1.299 GB, free: 7.746 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.907e-05/1.163, allocations: 19.92 kB / 1.299 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007573/1.164, allocations: 87.14 kB / 1.299 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/1.164, allocations: 32 kB / 1.299 GB, free: 7.609 MB / 1.014 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.0004735/1.164, allocations: 337.4 kB / 1.299 GB, free: 7.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/1.164, allocations: 86.97 kB / 1.299 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/1.165, allocations: 0.6218 MB / 1.3 GB, free: 6.555 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/1.165, allocations: 4 kB / 1.3 GB, free: 6.551 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.165, allocations: 0 / 1.3 GB, free: 6.551 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007145/1.166, allocations: 0.5212 MB / 1.301 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/1.169, allocations: 1.671 MB / 1.302 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.169, allocations: 4 kB / 1.302 GB, free: 4.262 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005082/1.169, allocations: 115.8 kB / 1.302 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/1.169, allocations: 8.219 kB / 1.302 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/1.169, allocations: 8 kB / 1.302 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/1.169, allocations: 4 kB / 1.302 GB, free: 4.129 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/1.169, allocations: 11.92 kB / 1.302 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/1.171, allocations: 1.015 MB / 1.303 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/1.171, allocations: 223.9 kB / 1.304 GB, free: 2.828 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.171, allocations: 19.98 kB / 1.304 GB, free: 2.809 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/1.172, allocations: 12 kB / 1.304 GB, free: 2.797 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/1.172, allocations: 39.89 kB / 1.304 GB, free: 2.758 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/1.172, allocations: 16 kB / 1.304 GB, free: 2.742 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000691/1.173, allocations: 0.5107 MB / 1.304 GB, free: 2.234 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.173, allocations: 0 / 1.304 GB, free: 2.234 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009392/1.174, allocations: 303.3 kB / 1.304 GB, free: 1.938 MB / 1.014 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.000536/1.174, allocations: 208.5 kB / 1.305 GB, free: 1.738 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001219/1.175, allocations: 0.7161 MB / 1.305 GB, free: 1.023 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.175, allocations: 0 / 1.305 GB, free: 1.023 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/1.176, allocations: 273.2 kB / 1.306 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/1.178, allocations: 446.7 kB / 1.306 GB, free: 348 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/1.181, allocations: 2.034 MB / 1.308 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008764/1.182, allocations: 1.126 MB / 1.309 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/1.182, allocations: 75.42 kB / 1.309 GB, free: 13.02 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/1.182, allocations: 0 / 1.309 GB, free: 13.02 MB / 1.029 GB Notification: Performance of Templates: time 0.02413/1.207, allocations: 14.54 MB / 1.323 GB, free: 14.59 MB / 1.045 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 -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