Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001291/0.001291, allocations: 112.8 kB / 17.08 MB, free: 6 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.001287/0.001287, allocations: 193.2 kB / 20.03 MB, free: 3.07 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.434/1.434, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.741/2.741, allocations: 437.1 MB / 0.7177 GB, free: 4.52 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 67.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3433, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9706/1.314, allocations: 195.1 MB / 1.366 GB, free: 15.06 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02345/1.337, allocations: 14.32 MB / 1.38 GB, free: 4.812 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/1.339, allocations: 35.59 kB / 1.38 GB, free: 4.801 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00191/1.341, allocations: 0.4943 MB / 1.381 GB, free: 4.5 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006473/1.348, allocations: 1.891 MB / 1.383 GB, free: 3.309 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003055/1.351, allocations: 0.8671 MB / 1.384 GB, free: 2.648 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004533/1.355, allocations: 2.572 MB / 1.386 GB, free: 1.176 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/1.357, allocations: 1.115 MB / 1.387 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005305/1.363, allocations: 1.591 MB / 1.389 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/1.365, allocations: 0.9281 MB / 1.39 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002607/1.365, allocations: 105.9 kB / 1.39 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/1.368, allocations: 1.098 MB / 1.391 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006083/1.369, allocations: 0.4981 MB / 1.391 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009744/1.37, allocations: 0.6347 MB / 1.392 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003701/1.373, allocations: 1.916 MB / 1.394 GB, free: 12.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.373, allocations: 0 / 1.394 GB, free: 12.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.224e-06/1.373, allocations: 0 / 1.394 GB, free: 12.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.664e-05/1.373, allocations: 3.469 kB / 1.394 GB, free: 12.49 MB / 1.061 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.002645/1.376, allocations: 1.485 MB / 1.395 GB, free: 11.35 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.376, allocations: 10.53 kB / 1.395 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/1.378, allocations: 253.7 kB / 1.396 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/1.379, allocations: 0.8046 MB / 1.396 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.199e-05/1.379, allocations: 69.69 kB / 1.396 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/1.379, allocations: 95.19 kB / 1.396 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/1.381, allocations: 1.173 MB / 1.398 GB, free: 9.781 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/1.381, allocations: 6.531 kB / 1.398 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.71e-05/1.381, allocations: 39.62 kB / 1.398 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-05/1.381, allocations: 38.22 kB / 1.398 GB, free: 9.742 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/1.383, allocations: 0.9003 MB / 1.399 GB, free: 9.297 MB / 1.061 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.006849/1.39, allocations: 5.75 MB / 1.404 GB, free: 4.062 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009124/1.391, allocations: 0.5423 MB / 1.405 GB, free: 3.777 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/1.391, allocations: 318.1 kB / 1.405 GB, free: 3.625 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006142/1.392, allocations: 307 kB / 1.405 GB, free: 3.316 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/1.392, allocations: 41.81 kB / 1.405 GB, free: 3.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=49): time 3.146e-06/1.392, allocations: 0 / 1.405 GB, free: 3.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=49): time 0.001564/1.393, allocations: 0.8072 MB / 1.406 GB, free: 2.867 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/1.393, allocations: 56.97 kB / 1.406 GB, free: 2.805 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.394, allocations: 0.7544 MB / 1.407 GB, free: 2.379 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/1.394, allocations: 32.33 kB / 1.407 GB, free: 2.344 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/1.395, allocations: 0.5225 MB / 1.407 GB, free: 1.875 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/1.395, allocations: 189.1 kB / 1.408 GB, free: 1.711 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/1.395, allocations: 147.2 kB / 1.408 GB, free: 1.625 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.395, allocations: 337.8 kB / 1.408 GB, free: 1.297 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/1.396, allocations: 247.8 kB / 1.408 GB, free: 1.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/1.396, allocations: 0.558 MB / 1.409 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/1.397, allocations: 0.8039 MB / 1.41 GB, free: 40 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/1.397, allocations: 2.625 kB / 1.41 GB, free: 40 kB / 1.061 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001314/1.399, allocations: 0.8407 MB / 1.41 GB, free: 15.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.399, allocations: 11.06 kB / 1.411 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/1.399, allocations: 7.344 kB / 1.411 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/1.399, allocations: 16.47 kB / 1.411 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/1.399, allocations: 158.1 kB / 1.411 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/1.399, allocations: 16.88 kB / 1.411 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007581/1.4, allocations: 90.69 kB / 1.411 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/1.4, allocations: 38.2 kB / 1.411 GB, free: 15.49 MB / 1.076 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.0005166/1.401, allocations: 330.4 kB / 1.411 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/1.401, allocations: 87.59 kB / 1.411 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/1.402, allocations: 0.6278 MB / 1.412 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.402, allocations: 4.469 kB / 1.412 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/1.402, allocations: 0 / 1.412 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007491/1.403, allocations: 0.5198 MB / 1.412 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/1.406, allocations: 1.658 MB / 1.414 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.406, allocations: 2.312 kB / 1.414 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005719/1.406, allocations: 116 kB / 1.414 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/1.406, allocations: 2.75 kB / 1.414 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.287e-05/1.406, allocations: 26.61 kB / 1.414 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.406, allocations: 3.031 kB / 1.414 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.406, allocations: 6.812 kB / 1.414 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/1.408, allocations: 1.024 MB / 1.415 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/1.408, allocations: 236.1 kB / 1.415 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/1.408, allocations: 11.69 kB / 1.415 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/1.409, allocations: 16.83 kB / 1.415 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/1.409, allocations: 29.31 kB / 1.415 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/1.409, allocations: 21.05 kB / 1.415 GB, free: 12.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006737/1.41, allocations: 0.5143 MB / 1.416 GB, free: 12.21 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.2e-07/1.41, allocations: 0 / 1.416 GB, free: 12.21 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009399/1.411, allocations: 295.4 kB / 1.416 GB, free: 12.15 MB / 1.076 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.000609/1.411, allocations: 222.1 kB / 1.416 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001105/1.412, allocations: 0.6073 MB / 1.417 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.412, allocations: 2.781 kB / 1.417 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/1.413, allocations: 275.1 kB / 1.417 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/1.415, allocations: 438.7 kB / 1.418 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/1.419, allocations: 2.028 MB / 1.42 GB, free: 9.203 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009803/1.42, allocations: 1.125 MB / 1.421 GB, free: 8.051 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/1.42, allocations: 79.42 kB / 1.421 GB, free: 7.973 MB / 1.076 GB Notification: Performance of SimCode: time 9.61e-07/1.42, allocations: 0 / 1.421 GB, free: 7.973 MB / 1.076 GB Notification: Performance of Templates: time 0.02805/1.448, allocations: 14.65 MB / 1.435 GB, free: 9.449 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.185963102965616]