Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001739/0.001739, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002151/0.002151, allocations: 212.9 kB / 23 MB, free: 4.934 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.171/3.171, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002017/0.002017, allocations: 75.19 kB / 1.155 GB, free: 25.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3237, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2224/0.5461, allocations: 172.7 MB / 1.496 GB, free: 3.633 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.5652, allocations: 13.18 MB / 1.509 GB, free: 6.418 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.5664, allocations: 47.62 kB / 1.509 GB, free: 6.371 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.5679, allocations: 0.4891 MB / 1.509 GB, free: 5.879 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004967/0.5728, allocations: 1.949 MB / 1.511 GB, free: 3.922 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.5753, allocations: 0.8896 MB / 1.512 GB, free: 3.035 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003506/0.5788, allocations: 2.628 MB / 1.515 GB, free: 404 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.5801, allocations: 0.8029 MB / 1.515 GB, free: 15.57 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004897/0.585, allocations: 1.888 MB / 1.517 GB, free: 13.69 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.5867, allocations: 0.9732 MB / 1.518 GB, free: 12.72 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.5869, allocations: 108 kB / 1.518 GB, free: 12.61 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.5889, allocations: 0.9274 MB / 1.519 GB, free: 11.68 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000547/0.5894, allocations: 0.4986 MB / 1.52 GB, free: 11.18 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006988/0.5901, allocations: 0.5329 MB / 1.52 GB, free: 10.65 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.5928, allocations: 1.896 MB / 1.522 GB, free: 8.746 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.5928, allocations: 0 / 1.522 GB, free: 8.746 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5928, allocations: 3.938 kB / 1.522 GB, free: 8.742 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.401e-05/0.5929, allocations: 4 kB / 1.522 GB, free: 8.738 MB / 1.217 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.002426/0.5953, allocations: 1.415 MB / 1.523 GB, free: 7.289 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.5953, allocations: 8.031 kB / 1.523 GB, free: 7.281 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.5968, allocations: 255 kB / 1.524 GB, free: 7.031 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.5984, allocations: 0.737 MB / 1.524 GB, free: 6.266 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/0.5984, allocations: 70 kB / 1.524 GB, free: 6.195 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.5986, allocations: 92 kB / 1.524 GB, free: 6.105 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.6005, allocations: 1.298 MB / 1.526 GB, free: 4.707 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.6006, allocations: 3.938 kB / 1.526 GB, free: 4.703 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.379e-05/0.6007, allocations: 47.94 kB / 1.526 GB, free: 4.656 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.6007, allocations: 34 kB / 1.526 GB, free: 4.621 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.6022, allocations: 0.9015 MB / 1.527 GB, free: 3.719 MB / 1.217 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.005524/0.6077, allocations: 3.986 MB / 1.531 GB, free: 15.61 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/0.6087, allocations: 0.5124 MB / 1.531 GB, free: 15.09 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.6091, allocations: 294.6 kB / 1.531 GB, free: 14.8 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000543/0.6097, allocations: 80.36 kB / 1.531 GB, free: 14.71 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.6097, allocations: 39 kB / 1.531 GB, free: 14.67 MB / 1.232 GB Notification: Performance of pre-optimization done (n=49): time 2.755e-06/0.6097, allocations: 3.938 kB / 1.531 GB, free: 14.66 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.00162/0.6113, allocations: 0.7992 MB / 1.532 GB, free: 13.86 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.6114, allocations: 59.83 kB / 1.532 GB, free: 13.79 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008589/0.6122, allocations: 0.6605 MB / 1.533 GB, free: 13.13 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.229e-05/0.6123, allocations: 37.7 kB / 1.533 GB, free: 13.09 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/0.6128, allocations: 0.5154 MB / 1.534 GB, free: 12.56 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.613, allocations: 178.6 kB / 1.534 GB, free: 12.39 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.6132, allocations: 146.6 kB / 1.534 GB, free: 12.24 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002338/0.6134, allocations: 386.7 kB / 1.534 GB, free: 11.85 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.6139, allocations: 257.8 kB / 1.534 GB, free: 11.6 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/0.6147, allocations: 0.8268 MB / 1.535 GB, free: 10.57 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.6158, allocations: 0.8034 MB / 1.536 GB, free: 9.656 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.6159, allocations: 4 kB / 1.536 GB, free: 9.652 MB / 1.232 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001381/0.6172, allocations: 0.8432 MB / 1.537 GB, free: 8.801 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.6173, allocations: 11.98 kB / 1.537 GB, free: 8.789 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.6173, allocations: 8 kB / 1.537 GB, free: 8.781 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.6173, allocations: 15.94 kB / 1.537 GB, free: 8.766 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.6179, allocations: 151.8 kB / 1.537 GB, free: 8.617 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/0.6179, allocations: 15.94 kB / 1.537 GB, free: 8.602 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006883/0.6186, allocations: 83.7 kB / 1.537 GB, free: 8.52 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.508e-05/0.6187, allocations: 40 kB / 1.537 GB, free: 8.48 MB / 1.232 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.0005086/0.6192, allocations: 333.4 kB / 1.537 GB, free: 8.145 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.6193, allocations: 83.48 kB / 1.538 GB, free: 8.062 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.6204, allocations: 0.6055 MB / 1.538 GB, free: 7.449 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007944/0.6212, allocations: 0.5211 MB / 1.539 GB, free: 6.914 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6212, allocations: 0 / 1.539 GB, free: 6.914 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/0.6216, allocations: 139.3 kB / 1.539 GB, free: 6.777 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/0.6217, allocations: 8 kB / 1.539 GB, free: 6.77 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.6221, allocations: 25.05 kB / 1.539 GB, free: 6.746 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.6222, allocations: 28.39 kB / 1.539 GB, free: 6.719 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001283/0.6234, allocations: 0.6791 MB / 1.54 GB, free: 6.031 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001521/0.625, allocations: 1.068 MB / 1.541 GB, free: 4.949 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004542/0.6254, allocations: 251.4 kB / 1.541 GB, free: 4.703 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005931/0.626, allocations: 447 kB / 1.541 GB, free: 4.273 MB / 1.232 GB Notification: Performance of Backend: time 2.71e-07/0.626, allocations: 0 / 1.541 GB, free: 4.273 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.6279, allocations: 0.699 MB / 1.542 GB, free: 3.574 MB / 1.232 GB Notification: Performance of SimCode: time 0.004178/0.6321, allocations: 2.437 MB / 1.544 GB, free: 1.086 MB / 1.232 GB Notification: Performance of Templates: time 0.03132/0.6634, allocations: 18.74 MB / 1.563 GB, free: 14.66 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.427740623003046]