Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 201 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.845/2.845, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=2500,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 68.12 kB / 1.109 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7617/0.764, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2376/1.002, allocations: 196.2 MB / 1.466 GB, free: 15.59 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02038/1.022, allocations: 14.47 MB / 1.48 GB, free: 1.074 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/1.023, allocations: 39.75 kB / 1.48 GB, free: 1.035 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/1.025, allocations: 0.5047 MB / 1.48 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005543/1.03, allocations: 1.98 MB / 1.482 GB, free: 14.54 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002711/1.033, allocations: 0.8722 MB / 1.483 GB, free: 13.67 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003884/1.037, allocations: 2.573 MB / 1.486 GB, free: 11.09 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/1.038, allocations: 0.8023 MB / 1.486 GB, free: 10.27 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004761/1.043, allocations: 1.661 MB / 1.488 GB, free: 8.621 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/1.045, allocations: 0.9832 MB / 1.489 GB, free: 7.637 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002433/1.045, allocations: 112 kB / 1.489 GB, free: 7.527 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/1.048, allocations: 1.165 MB / 1.49 GB, free: 6.359 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006647/1.049, allocations: 0.5064 MB / 1.491 GB, free: 5.852 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/1.05, allocations: 0.6338 MB / 1.491 GB, free: 5.215 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003411/1.053, allocations: 1.911 MB / 1.493 GB, free: 3.297 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.053, allocations: 0 / 1.493 GB, free: 3.297 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.463e-06/1.053, allocations: 0 / 1.493 GB, free: 3.297 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.989e-05/1.053, allocations: 4 kB / 1.493 GB, free: 3.293 MB / 1.186 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.002662/1.056, allocations: 1.478 MB / 1.495 GB, free: 1.762 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/1.056, allocations: 12.02 kB / 1.495 GB, free: 1.75 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/1.057, allocations: 267 kB / 1.495 GB, free: 1.488 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/1.059, allocations: 0.7966 MB / 1.496 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.095e-05/1.059, allocations: 73.94 kB / 1.496 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/1.059, allocations: 99.92 kB / 1.496 GB, free: 488 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/1.062, allocations: 1.165 MB / 1.497 GB, free: 15.24 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/1.062, allocations: 3.938 kB / 1.497 GB, free: 15.23 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.062, allocations: 47.94 kB / 1.497 GB, free: 15.19 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/1.062, allocations: 33.98 kB / 1.497 GB, free: 15.16 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/1.064, allocations: 0.9015 MB / 1.498 GB, free: 14.25 MB / 1.201 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.007124/1.071, allocations: 5.756 MB / 1.504 GB, free: 8.043 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009357/1.072, allocations: 0.5159 MB / 1.504 GB, free: 7.516 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/1.072, allocations: 298.6 kB / 1.504 GB, free: 7.215 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000647/1.073, allocations: 311.7 kB / 1.505 GB, free: 6.855 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/1.073, allocations: 39 kB / 1.505 GB, free: 6.809 MB / 1.201 GB Notification: Performance of pre-optimization done (n=49): time 2.225e-06/1.073, allocations: 4 kB / 1.505 GB, free: 6.805 MB / 1.201 GB Notification: Performance of matching and sorting (n=49): time 0.001691/1.074, allocations: 0.803 MB / 1.506 GB, free: 6 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/1.074, allocations: 59.78 kB / 1.506 GB, free: 5.93 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/1.075, allocations: 0.751 MB / 1.506 GB, free: 5.168 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/1.076, allocations: 37.7 kB / 1.506 GB, free: 5.125 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/1.076, allocations: 0.5194 MB / 1.507 GB, free: 4.598 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/1.076, allocations: 186.4 kB / 1.507 GB, free: 4.414 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/1.076, allocations: 142.6 kB / 1.507 GB, free: 4.266 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.077, allocations: 337.9 kB / 1.507 GB, free: 3.93 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/1.077, allocations: 249.9 kB / 1.508 GB, free: 3.688 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/1.078, allocations: 0.5624 MB / 1.508 GB, free: 2.988 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.079, allocations: 0.7917 MB / 1.509 GB, free: 2.09 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.079, allocations: 4 kB / 1.509 GB, free: 2.086 MB / 1.201 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001446/1.08, allocations: 0.8506 MB / 1.51 GB, free: 1.227 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.08, allocations: 8 kB / 1.51 GB, free: 1.219 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.08, allocations: 8 kB / 1.51 GB, free: 1.211 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/1.08, allocations: 12 kB / 1.51 GB, free: 1.199 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/1.081, allocations: 156.4 kB / 1.51 GB, free: 1.047 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/1.081, allocations: 15.94 kB / 1.51 GB, free: 1.031 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007468/1.082, allocations: 91.39 kB / 1.51 GB, free: 0.9414 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/1.082, allocations: 35.94 kB / 1.51 GB, free: 0.9062 MB / 1.201 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.0004947/1.082, allocations: 333.5 kB / 1.511 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/1.083, allocations: 87.44 kB / 1.511 GB, free: 496 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/1.084, allocations: 0.6181 MB / 1.511 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/1.084, allocations: 16.02 kB / 1.511 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.084, allocations: 0 / 1.511 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008068/1.084, allocations: 0.5211 MB / 1.512 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/1.087, allocations: 1.659 MB / 1.513 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.087, allocations: 7.938 kB / 1.513 GB, free: 13.56 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/1.088, allocations: 115.8 kB / 1.513 GB, free: 13.45 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/1.088, allocations: 7.938 kB / 1.513 GB, free: 13.44 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/1.088, allocations: 15.98 kB / 1.513 GB, free: 13.43 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/1.088, allocations: 8 kB / 1.513 GB, free: 13.42 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.088, allocations: 0 / 1.513 GB, free: 13.42 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/1.089, allocations: 1.02 MB / 1.514 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/1.09, allocations: 240.3 kB / 1.515 GB, free: 12.11 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.09, allocations: 12 kB / 1.515 GB, free: 12.09 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/1.09, allocations: 12 kB / 1.515 GB, free: 12.08 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/1.09, allocations: 35.73 kB / 1.515 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/1.091, allocations: 19.98 kB / 1.515 GB, free: 12.03 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007214/1.091, allocations: 0.5146 MB / 1.515 GB, free: 11.52 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.31e-07/1.091, allocations: 0 / 1.515 GB, free: 11.52 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009421/1.092, allocations: 295.5 kB / 1.516 GB, free: 11.23 MB / 1.217 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.0005389/1.093, allocations: 222.4 kB / 1.516 GB, free: 11.02 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0011/1.094, allocations: 0.5851 MB / 1.516 GB, free: 10.44 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.094, allocations: 4.25 kB / 1.516 GB, free: 10.44 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0004082/1.094, allocations: 255.5 kB / 1.517 GB, free: 10.19 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/1.096, allocations: 435.1 kB / 1.517 GB, free: 9.762 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/1.1, allocations: 1.972 MB / 1.519 GB, free: 7.738 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008633/1.1, allocations: 1.122 MB / 1.52 GB, free: 6.59 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008682/1.101, allocations: 267.1 kB / 1.52 GB, free: 6.324 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/1.102, allocations: 75.41 kB / 1.52 GB, free: 6.25 MB / 1.217 GB Notification: Performance of SimCode: time 1.333e-06/1.102, allocations: 0 / 1.52 GB, free: 6.25 MB / 1.217 GB Notification: Performance of Templates: time 0.03159/1.133, allocations: 15.89 MB / 1.536 GB, free: 6.594 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.531507377047092]