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.001123/0.001123, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001152/0.001152, allocations: 190.2 kB / 17.29 MB, free: 5.48 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.456/2.456, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 67.81 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2929, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7487/1.042, allocations: 195.1 MB / 1.217 GB, free: 7.078 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01702/1.059, allocations: 14.31 MB / 1.231 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/1.06, allocations: 38.25 kB / 1.231 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/1.062, allocations: 0.4998 MB / 1.232 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004673/1.067, allocations: 1.891 MB / 1.234 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002406/1.069, allocations: 0.8684 MB / 1.234 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003202/1.072, allocations: 2.577 MB / 1.237 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/1.074, allocations: 1.112 MB / 1.238 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/1.078, allocations: 1.594 MB / 1.24 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/1.08, allocations: 0.9243 MB / 1.241 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/1.08, allocations: 108 kB / 1.241 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/1.082, allocations: 1.099 MB / 1.242 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005236/1.083, allocations: 0.4948 MB / 1.242 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007731/1.084, allocations: 0.6377 MB / 1.243 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002594/1.086, allocations: 1.905 MB / 1.245 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.086, allocations: 4 kB / 1.245 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/1.086, allocations: 0 / 1.245 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.714e-05/1.086, allocations: 0 / 1.245 GB, free: 14.12 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.002192/1.089, allocations: 1.449 MB / 1.246 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.089, allocations: 12.03 kB / 1.246 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/1.09, allocations: 254.3 kB / 1.246 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/1.092, allocations: 0.792 MB / 1.247 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/1.092, allocations: 66 kB / 1.247 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/1.092, allocations: 95.98 kB / 1.247 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/1.093, allocations: 1.169 MB / 1.248 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/1.093, allocations: 7.938 kB / 1.248 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.178e-05/1.093, allocations: 36 kB / 1.248 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.425e-05/1.094, allocations: 41.94 kB / 1.248 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/1.095, allocations: 0.8976 MB / 1.249 GB, free: 9.145 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.005501/1.1, allocations: 5.746 MB / 1.255 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008245/1.101, allocations: 0.5363 MB / 1.255 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00041/1.102, allocations: 315.1 kB / 1.256 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005808/1.102, allocations: 315.7 kB / 1.256 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/1.102, allocations: 39 kB / 1.256 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=49): time 4.088e-06/1.102, allocations: 3.984 kB / 1.256 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.001505/1.104, allocations: 0.7987 MB / 1.257 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/1.104, allocations: 55.84 kB / 1.257 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/1.105, allocations: 0.7587 MB / 1.258 GB, free: 32 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.358e-05/1.105, allocations: 37.78 kB / 1.258 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/1.105, allocations: 0.5025 MB / 1.258 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/1.105, allocations: 177.4 kB / 1.258 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/1.105, allocations: 150.4 kB / 1.259 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.106, allocations: 337.9 kB / 1.259 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/1.106, allocations: 249.8 kB / 1.259 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/1.107, allocations: 0.5546 MB / 1.26 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009551/1.107, allocations: 0.7956 MB / 1.26 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.108, allocations: 4 kB / 1.26 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001208/1.109, allocations: 0.8391 MB / 1.261 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.109, allocations: 12 kB / 1.261 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/1.109, allocations: 8 kB / 1.261 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/1.109, allocations: 12 kB / 1.261 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/1.109, allocations: 159.7 kB / 1.261 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/1.109, allocations: 15.94 kB / 1.261 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006985/1.11, allocations: 87.11 kB / 1.262 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/1.11, allocations: 39.98 kB / 1.262 GB, free: 11.8 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.0004223/1.111, allocations: 333.4 kB / 1.262 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/1.111, allocations: 86.97 kB / 1.262 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009601/1.112, allocations: 0.6141 MB / 1.263 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.112, allocations: 4 kB / 1.263 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.112, allocations: 0 / 1.263 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006794/1.112, allocations: 0.5211 MB / 1.263 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/1.115, allocations: 1.675 MB / 1.265 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.115, allocations: 0 / 1.265 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/1.115, allocations: 115.8 kB / 1.265 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/1.115, allocations: 8.219 kB / 1.265 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/1.115, allocations: 19.98 kB / 1.265 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.115, allocations: 0 / 1.265 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.115, allocations: 4.703 kB / 1.265 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/1.117, allocations: 1.015 MB / 1.266 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/1.117, allocations: 231.9 kB / 1.266 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/1.117, allocations: 12 kB / 1.266 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/1.118, allocations: 19.92 kB / 1.266 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/1.118, allocations: 35.97 kB / 1.266 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/1.118, allocations: 19.98 kB / 1.266 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005992/1.118, allocations: 0.5146 MB / 1.267 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/1.118, allocations: 0 / 1.267 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008596/1.119, allocations: 295.3 kB / 1.267 GB, free: 6.129 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.0004554/1.12, allocations: 202.6 kB / 1.267 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009144/1.121, allocations: 0.6147 MB / 1.268 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.121, allocations: 7.938 kB / 1.268 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003487/1.121, allocations: 273.2 kB / 1.268 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/1.123, allocations: 441.7 kB / 1.268 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/1.126, allocations: 1.931 MB / 1.27 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/1.126, allocations: 1.122 MB / 1.271 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006841/1.127, allocations: 263.1 kB / 1.272 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/1.127, allocations: 75.42 kB / 1.272 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/1.127, allocations: 7.938 kB / 1.272 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of Templates: time 0.02451/1.152, allocations: 15.39 MB / 1.287 GB, free: 1.984 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 gbode -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