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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009074/0.0009074, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008107/0.0008107, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8656/0.8656, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.763/1.763, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.128e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6586/0.6587, allocations: 172.5 MB / 1.169 GB, free: 7.164 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0148/0.6735, allocations: 13.09 MB / 1.182 GB, free: 14.39 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.6752, allocations: 51.47 kB / 1.182 GB, free: 14.36 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.6769, allocations: 0.493 MB / 1.183 GB, free: 14.07 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.005355/0.6822, allocations: 1.988 MB / 1.185 GB, free: 13 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.685, allocations: 0.9284 MB / 1.186 GB, free: 12.52 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.004516/0.6895, allocations: 2.6 MB / 1.188 GB, free: 11.3 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.691, allocations: 0.757 MB / 1.189 GB, free: 10.94 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005486/0.6965, allocations: 2.182 MB / 1.191 GB, free: 10 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.6985, allocations: 0.8734 MB / 1.192 GB, free: 9.719 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.6987, allocations: 105.8 kB / 1.192 GB, free: 9.719 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.7009, allocations: 0.9344 MB / 1.193 GB, free: 9.391 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005679/0.7015, allocations: 0.5348 MB / 1.193 GB, free: 9.152 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007284/0.7022, allocations: 461 kB / 1.194 GB, free: 8.969 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.7053, allocations: 1.936 MB / 1.196 GB, free: 8.297 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 8.026e-06/0.7053, allocations: 6.75 kB / 1.196 GB, free: 8.293 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7053, allocations: 4 kB / 1.196 GB, free: 8.289 MB / 1.042 GB Notification: Performance of Transformations before backend: time 2.996e-05/0.7053, allocations: 0 / 1.196 GB, free: 8.289 MB / 1.042 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.00218/0.7075, allocations: 1.397 MB / 1.197 GB, free: 7.375 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.7076, allocations: 9.688 kB / 1.197 GB, free: 7.375 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009701/0.7085, allocations: 255.3 kB / 1.197 GB, free: 7.297 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.7097, allocations: 0.7319 MB / 1.198 GB, free: 6.863 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.7098, allocations: 68.44 kB / 1.198 GB, free: 6.832 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.7099, allocations: 95.16 kB / 1.198 GB, free: 6.801 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.7114, allocations: 1.293 MB / 1.199 GB, free: 6.086 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.7114, allocations: 5.312 kB / 1.199 GB, free: 6.082 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.386e-05/0.7115, allocations: 46.42 kB / 1.199 GB, free: 6.047 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.706e-05/0.7115, allocations: 38.25 kB / 1.2 GB, free: 6.039 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.7126, allocations: 0.9009 MB / 1.2 GB, free: 5.738 MB / 1.042 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.004455/0.7171, allocations: 3.975 MB / 1.204 GB, free: 2.797 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007993/0.7179, allocations: 0.5118 MB / 1.205 GB, free: 2.531 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.7182, allocations: 297.4 kB / 1.205 GB, free: 2.383 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/0.7185, allocations: 79.3 kB / 1.205 GB, free: 2.355 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.7185, allocations: 37.81 kB / 1.205 GB, free: 2.312 MB / 1.042 GB Notification: Performance of pre-optimization done (n=49): time 4.338e-06/0.7185, allocations: 0 / 1.205 GB, free: 2.312 MB / 1.042 GB Notification: Performance of matching and sorting (n=49): time 0.001306/0.7198, allocations: 0.8057 MB / 1.206 GB, free: 1.91 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.7199, allocations: 61.38 kB / 1.206 GB, free: 1.844 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006872/0.7206, allocations: 0.6579 MB / 1.207 GB, free: 1.461 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.7206, allocations: 37.83 kB / 1.207 GB, free: 1.422 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.7209, allocations: 0.5123 MB / 1.207 GB, free: 0.9648 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.7212, allocations: 185.9 kB / 1.207 GB, free: 0.8047 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.7214, allocations: 139.9 kB / 1.208 GB, free: 0.7227 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7215, allocations: 386.1 kB / 1.208 GB, free: 364 kB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.7218, allocations: 248.8 kB / 1.208 GB, free: 240 kB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.7224, allocations: 0.8292 MB / 1.209 GB, free: 15.38 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/0.7231, allocations: 0.8031 MB / 1.21 GB, free: 14.77 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7231, allocations: 2.562 kB / 1.21 GB, free: 14.77 MB / 1.057 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009218/0.724, allocations: 0.8516 MB / 1.211 GB, free: 14.33 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.7241, allocations: 12.27 kB / 1.211 GB, free: 14.32 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.7241, allocations: 8.594 kB / 1.211 GB, free: 14.32 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.7241, allocations: 11.25 kB / 1.211 GB, free: 14.32 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.7244, allocations: 153 kB / 1.211 GB, free: 14.29 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.7245, allocations: 16.06 kB / 1.211 GB, free: 14.29 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.725, allocations: 83.42 kB / 1.211 GB, free: 14.23 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.725, allocations: 38.53 kB / 1.211 GB, free: 14.23 MB / 1.057 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.0004819/0.7255, allocations: 331.5 kB / 1.211 GB, free: 13.98 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/0.7256, allocations: 85.89 kB / 1.211 GB, free: 13.94 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007298/0.7263, allocations: 0.6077 MB / 1.212 GB, free: 13.59 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.7263, allocations: 4.094 kB / 1.212 GB, free: 13.59 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.7263, allocations: 0 / 1.212 GB, free: 13.59 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004969/0.7268, allocations: 0.5206 MB / 1.212 GB, free: 13.3 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.7289, allocations: 1.45 MB / 1.214 GB, free: 12.36 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.7289, allocations: 0 / 1.214 GB, free: 12.36 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.7292, allocations: 111.7 kB / 1.214 GB, free: 12.34 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.7292, allocations: 2.906 kB / 1.214 GB, free: 12.34 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.7292, allocations: 19.3 kB / 1.214 GB, free: 12.33 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.7292, allocations: 2.875 kB / 1.214 GB, free: 12.33 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7292, allocations: 7.219 kB / 1.214 GB, free: 12.32 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009463/0.7302, allocations: 1.022 MB / 1.215 GB, free: 11.7 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.7305, allocations: 144.7 kB / 1.215 GB, free: 11.6 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.7305, allocations: 13.47 kB / 1.215 GB, free: 11.59 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.7308, allocations: 19.92 kB / 1.215 GB, free: 11.58 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.7309, allocations: 37.28 kB / 1.215 GB, free: 11.56 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.7309, allocations: 21.03 kB / 1.215 GB, free: 11.55 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0004313/0.7313, allocations: 446.8 kB / 1.216 GB, free: 11.3 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7313, allocations: 0 / 1.216 GB, free: 11.3 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0009217/0.7322, allocations: 304.1 kB / 1.216 GB, free: 11.23 MB / 1.057 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.0005453/0.7328, allocations: 197.3 kB / 1.216 GB, free: 11.1 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0008022/0.7336, allocations: 0.5826 MB / 1.217 GB, free: 10.84 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7336, allocations: 0 / 1.217 GB, free: 10.84 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.7338, allocations: 265.4 kB / 1.217 GB, free: 10.71 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.7349, allocations: 377.4 kB / 1.217 GB, free: 10.52 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.7375, allocations: 1.908 MB / 1.219 GB, free: 9.301 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.7379, allocations: 0.5238 MB / 1.22 GB, free: 8.996 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.7381, allocations: 77.61 kB / 1.22 GB, free: 8.98 MB / 1.057 GB Notification: Performance of SimCode: time 2.003e-06/0.7381, allocations: 0 / 1.22 GB, free: 8.98 MB / 1.057 GB Notification: Performance of Templates: time 0.01925/0.7574, allocations: 14.33 MB / 1.234 GB, free: 12.89 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.433884332887828]