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.001386/0.001386, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001596/0.001596, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.196/3.196, allocations: 0.4892 GB / 0.7951 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] 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.00212/0.00212, allocations: 71.69 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3261, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2278/0.5539, allocations: 172.7 MB / 1.495 GB, free: 4.465 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02195/0.5758, allocations: 13.17 MB / 1.508 GB, free: 7.254 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.5773, allocations: 51.56 kB / 1.508 GB, free: 7.203 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.5792, allocations: 0.489 MB / 1.508 GB, free: 6.711 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.5852, allocations: 1.941 MB / 1.51 GB, free: 4.762 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.5882, allocations: 0.8797 MB / 1.511 GB, free: 3.887 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004382/0.5925, allocations: 2.604 MB / 1.514 GB, free: 1.27 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.5945, allocations: 0.8029 MB / 1.514 GB, free: 452 kB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006084/0.6005, allocations: 1.881 MB / 1.516 GB, free: 14.57 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.6026, allocations: 0.9379 MB / 1.517 GB, free: 13.63 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003862/0.603, allocations: 108 kB / 1.517 GB, free: 13.53 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.6055, allocations: 0.9118 MB / 1.518 GB, free: 12.61 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008143/0.6063, allocations: 0.5025 MB / 1.519 GB, free: 12.11 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009794/0.6073, allocations: 0.529 MB / 1.519 GB, free: 11.58 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003475/0.6107, allocations: 1.896 MB / 1.521 GB, free: 9.676 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.6108, allocations: 0 / 1.521 GB, free: 9.676 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.615e-06/0.6108, allocations: 3.938 kB / 1.521 GB, free: 9.672 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.841e-05/0.6108, allocations: 0 / 1.521 GB, free: 9.672 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.002776/0.6136, allocations: 1.419 MB / 1.522 GB, free: 8.219 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6136, allocations: 12.03 kB / 1.522 GB, free: 8.207 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.615, allocations: 259 kB / 1.523 GB, free: 7.953 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.6166, allocations: 0.7331 MB / 1.523 GB, free: 7.191 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/0.6166, allocations: 70 kB / 1.523 GB, free: 7.121 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.6168, allocations: 91.98 kB / 1.524 GB, free: 7.031 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.6187, allocations: 1.302 MB / 1.525 GB, free: 5.629 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.6188, allocations: 7.922 kB / 1.525 GB, free: 5.621 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.081e-05/0.6188, allocations: 43.94 kB / 1.525 GB, free: 5.578 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.692e-05/0.6189, allocations: 34 kB / 1.525 GB, free: 5.543 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.6204, allocations: 0.8976 MB / 1.526 GB, free: 4.645 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.005738/0.6261, allocations: 3.99 MB / 1.53 GB, free: 0.5352 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009034/0.627, allocations: 0.5047 MB / 1.53 GB, free: 24 kB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.6275, allocations: 296.3 kB / 1.53 GB, free: 15.73 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000498/0.628, allocations: 84.34 kB / 1.531 GB, free: 15.64 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.628, allocations: 39 kB / 1.531 GB, free: 15.59 MB / 1.232 GB Notification: Performance of pre-optimization done (n=49): time 3.036e-06/0.628, allocations: 0 / 1.531 GB, free: 15.59 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.001707/0.6297, allocations: 0.7992 MB / 1.531 GB, free: 14.79 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.6298, allocations: 55.84 kB / 1.531 GB, free: 14.73 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008744/0.6307, allocations: 0.6605 MB / 1.532 GB, free: 14.06 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6e-05/0.6307, allocations: 37.7 kB / 1.532 GB, free: 14.02 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/0.6312, allocations: 0.5193 MB / 1.533 GB, free: 13.49 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.6314, allocations: 182.6 kB / 1.533 GB, free: 13.31 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.6316, allocations: 146.6 kB / 1.533 GB, free: 13.16 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.00021/0.6318, allocations: 386.7 kB / 1.533 GB, free: 12.78 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.6322, allocations: 245.9 kB / 1.534 GB, free: 12.54 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000852/0.6331, allocations: 0.8307 MB / 1.534 GB, free: 11.5 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6341, allocations: 0.8034 MB / 1.535 GB, free: 10.59 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.6341, allocations: 4 kB / 1.535 GB, free: 10.59 MB / 1.232 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001365/0.6355, allocations: 0.8434 MB / 1.536 GB, free: 9.734 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.6355, allocations: 14.19 kB / 1.536 GB, free: 9.723 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.6356, allocations: 12 kB / 1.536 GB, free: 9.711 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.6356, allocations: 15.94 kB / 1.536 GB, free: 9.695 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/0.6362, allocations: 159.7 kB / 1.536 GB, free: 9.539 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.6362, allocations: 19.92 kB / 1.536 GB, free: 9.52 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006974/0.6369, allocations: 79.47 kB / 1.536 GB, free: 9.441 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/0.637, allocations: 36 kB / 1.536 GB, free: 9.406 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.0005082/0.6375, allocations: 341.4 kB / 1.537 GB, free: 9.062 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.6376, allocations: 79.48 kB / 1.537 GB, free: 8.984 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.6387, allocations: 0.6094 MB / 1.537 GB, free: 8.367 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6387, allocations: 4 kB / 1.537 GB, free: 8.363 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6387, allocations: 0 / 1.537 GB, free: 8.363 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007958/0.6395, allocations: 0.5172 MB / 1.538 GB, free: 7.832 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/0.6424, allocations: 1.452 MB / 1.539 GB, free: 6.32 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6424, allocations: 0 / 1.539 GB, free: 6.32 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/0.6429, allocations: 115.8 kB / 1.539 GB, free: 6.207 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.6429, allocations: 4 kB / 1.539 GB, free: 6.203 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.643, allocations: 19.94 kB / 1.539 GB, free: 6.184 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.643, allocations: 0 / 1.539 GB, free: 6.184 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.643, allocations: 4 kB / 1.539 GB, free: 6.18 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.6445, allocations: 1.008 MB / 1.54 GB, free: 5.133 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/0.6448, allocations: 147.6 kB / 1.54 GB, free: 4.988 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.645, allocations: 15.94 kB / 1.54 GB, free: 4.973 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.6454, allocations: 12 kB / 1.541 GB, free: 4.961 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.6455, allocations: 31.94 kB / 1.541 GB, free: 4.93 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.6455, allocations: 23.98 kB / 1.541 GB, free: 4.906 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006403/0.6461, allocations: 443 kB / 1.541 GB, free: 4.48 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6461, allocations: 0 / 1.541 GB, free: 4.48 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001108/0.6473, allocations: 315.3 kB / 1.541 GB, free: 4.172 MB / 1.232 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.0005677/0.6478, allocations: 199.5 kB / 1.541 GB, free: 3.973 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.6489, allocations: 0.5911 MB / 1.542 GB, free: 3.383 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6489, allocations: 0 / 1.542 GB, free: 3.383 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.6492, allocations: 257.7 kB / 1.542 GB, free: 3.133 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.6509, allocations: 385.1 kB / 1.543 GB, free: 2.766 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.6542, allocations: 2.018 MB / 1.545 GB, free: 0.6875 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/0.6548, allocations: 0.5274 MB / 1.545 GB, free: 132 kB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.655, allocations: 75.42 kB / 1.545 GB, free: 56 kB / 1.232 GB Notification: Performance of SimCode: time 6.21e-07/0.655, allocations: 0 / 1.545 GB, free: 56 kB / 1.232 GB Notification: Performance of Templates: time 0.02711/0.6822, allocations: 14.32 MB / 1.559 GB, free: 1.832 MB / 1.248 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: 13.75566424895078]