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.001365/0.001365, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001486/0.001486, allocations: 218.6 kB / 22.99 MB, free: 4.914 MB / 14.72 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 1.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 3.35/3.35, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 73.25 kB / 1.187 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3741, allocations: 181.9 MB / 1.365 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2417/0.6158, allocations: 172.7 MB / 1.533 GB, free: 344 kB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02191/0.6377, allocations: 13.16 MB / 1.546 GB, free: 3.137 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.6394, allocations: 51.56 kB / 1.546 GB, free: 3.086 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.6416, allocations: 0.5007 MB / 1.547 GB, free: 2.582 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.006564/0.6482, allocations: 1.941 MB / 1.549 GB, free: 0.6328 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.6514, allocations: 0.8807 MB / 1.549 GB, free: 15.76 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004093/0.6554, allocations: 2.599 MB / 1.552 GB, free: 13.15 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.657, allocations: 0.8068 MB / 1.553 GB, free: 12.32 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005831/0.6628, allocations: 1.891 MB / 1.555 GB, free: 10.44 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.665, allocations: 0.9297 MB / 1.556 GB, free: 9.508 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.6652, allocations: 104 kB / 1.556 GB, free: 9.406 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.6677, allocations: 0.9235 MB / 1.557 GB, free: 8.48 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0006161/0.6683, allocations: 0.4986 MB / 1.557 GB, free: 7.98 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.6691, allocations: 0.5251 MB / 1.558 GB, free: 7.453 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.6721, allocations: 1.904 MB / 1.559 GB, free: 5.543 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6721, allocations: 4 kB / 1.559 GB, free: 5.539 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6721, allocations: 0 / 1.559 GB, free: 5.539 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.6721, allocations: 0 / 1.559 GB, free: 5.539 MB / 1.248 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.002354/0.6745, allocations: 1.419 MB / 1.561 GB, free: 4.086 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.6745, allocations: 8.031 kB / 1.561 GB, free: 4.078 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.6759, allocations: 259 kB / 1.561 GB, free: 3.824 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.6775, allocations: 0.7331 MB / 1.562 GB, free: 3.062 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.066e-05/0.6775, allocations: 74 kB / 1.562 GB, free: 2.988 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.6777, allocations: 95.95 kB / 1.562 GB, free: 2.895 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.6798, allocations: 1.29 MB / 1.563 GB, free: 1.504 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.6798, allocations: 8 kB / 1.563 GB, free: 1.496 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.684e-05/0.6799, allocations: 39.94 kB / 1.563 GB, free: 1.457 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/0.68, allocations: 45.92 kB / 1.563 GB, free: 1.41 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.6814, allocations: 0.8937 MB / 1.564 GB, free: 0.5195 MB / 1.248 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.005471/0.6869, allocations: 3.99 MB / 1.568 GB, free: 12.41 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008919/0.6878, allocations: 0.5057 MB / 1.569 GB, free: 11.89 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.6883, allocations: 302.6 kB / 1.569 GB, free: 11.59 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004745/0.6887, allocations: 72.36 kB / 1.569 GB, free: 11.52 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.6888, allocations: 42.98 kB / 1.569 GB, free: 11.47 MB / 1.264 GB Notification: Performance of pre-optimization done (n=49): time 3.586e-06/0.6888, allocations: 0 / 1.569 GB, free: 11.47 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.001604/0.6904, allocations: 0.7953 MB / 1.57 GB, free: 10.67 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.6904, allocations: 59.84 kB / 1.57 GB, free: 10.6 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008564/0.6913, allocations: 0.6566 MB / 1.57 GB, free: 9.934 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.6914, allocations: 37.7 kB / 1.57 GB, free: 9.891 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/0.6918, allocations: 0.5271 MB / 1.571 GB, free: 9.355 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.692, allocations: 186.4 kB / 1.571 GB, free: 9.172 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.6922, allocations: 146.5 kB / 1.571 GB, free: 9.023 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002117/0.6924, allocations: 386.7 kB / 1.572 GB, free: 8.637 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.6928, allocations: 249.8 kB / 1.572 GB, free: 8.391 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000873/0.6937, allocations: 0.8346 MB / 1.573 GB, free: 7.355 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.6948, allocations: 0.8034 MB / 1.573 GB, free: 6.441 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.6948, allocations: 0 / 1.573 GB, free: 6.441 MB / 1.264 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001357/0.6962, allocations: 0.8392 MB / 1.574 GB, free: 5.598 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.6962, allocations: 8 kB / 1.574 GB, free: 5.59 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.6962, allocations: 12 kB / 1.574 GB, free: 5.578 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/0.6962, allocations: 12 kB / 1.574 GB, free: 5.566 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/0.6968, allocations: 151.8 kB / 1.574 GB, free: 5.418 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.6968, allocations: 15.98 kB / 1.574 GB, free: 5.402 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/0.6975, allocations: 87.84 kB / 1.575 GB, free: 5.316 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/0.6976, allocations: 36 kB / 1.575 GB, free: 5.281 MB / 1.264 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.0005141/0.6981, allocations: 333.3 kB / 1.575 GB, free: 4.945 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.6982, allocations: 87.48 kB / 1.575 GB, free: 4.859 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.6993, allocations: 0.6093 MB / 1.576 GB, free: 4.238 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.6993, allocations: 4 kB / 1.576 GB, free: 4.234 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6993, allocations: 0 / 1.576 GB, free: 4.234 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007722/0.7001, allocations: 0.5211 MB / 1.576 GB, free: 3.703 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.7025, allocations: 1.444 MB / 1.578 GB, free: 2.199 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.7025, allocations: 4 kB / 1.578 GB, free: 2.195 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.7031, allocations: 107.9 kB / 1.578 GB, free: 2.09 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.7031, allocations: 4 kB / 1.578 GB, free: 2.086 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.7031, allocations: 15.94 kB / 1.578 GB, free: 2.07 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.7031, allocations: 12.16 kB / 1.578 GB, free: 2.059 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.7031, allocations: 0 / 1.578 GB, free: 2.059 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.7046, allocations: 1.015 MB / 1.579 GB, free: 1.004 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.7049, allocations: 143.4 kB / 1.579 GB, free: 0.8633 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.705, allocations: 15.94 kB / 1.579 GB, free: 0.8477 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.7055, allocations: 17.48 kB / 1.579 GB, free: 0.832 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.7055, allocations: 35.94 kB / 1.579 GB, free: 0.7969 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.7056, allocations: 16 kB / 1.579 GB, free: 0.7812 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005554/0.7061, allocations: 451 kB / 1.579 GB, free: 356 kB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.7061, allocations: 4 kB / 1.579 GB, free: 352 kB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009184/0.707, allocations: 315.3 kB / 1.58 GB, free: 36 kB / 1.264 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.0004966/0.7075, allocations: 193.8 kB / 1.58 GB, free: 15.84 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0009957/0.7085, allocations: 0.5844 MB / 1.58 GB, free: 15.26 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7085, allocations: 4.562 kB / 1.58 GB, free: 15.25 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.7089, allocations: 263.5 kB / 1.581 GB, free: 15 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.7106, allocations: 384.2 kB / 1.581 GB, free: 14.63 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.7138, allocations: 2.014 MB / 1.583 GB, free: 12.55 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.7143, allocations: 0.5274 MB / 1.583 GB, free: 12 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.7146, allocations: 71.42 kB / 1.584 GB, free: 11.93 MB / 1.279 GB Notification: Performance of SimCode: time 6.72e-07/0.7146, allocations: 0 / 1.584 GB, free: 11.93 MB / 1.279 GB Notification: Performance of Templates: time 0.02308/0.7376, allocations: 14.32 MB / 1.598 GB, free: 13.71 MB / 1.295 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/jenkins1/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: 14.830037321895361]