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.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.001242/0.001242, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001269/0.001269, allocations: 193.2 kB / 22.23 MB, free: 5.156 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.355/1.355, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.868/2.868, allocations: 496 MB / 0.7835 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.36 kB / 1.138 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3086, allocations: 173.6 MB / 1.307 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2164/0.5251, allocations: 196.3 MB / 1.499 GB, free: 12.76 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01825/0.5433, allocations: 14.47 MB / 1.513 GB, free: 14.24 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.5446, allocations: 51.56 kB / 1.513 GB, free: 14.19 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.5461, allocations: 0.5124 MB / 1.514 GB, free: 13.68 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004657/0.5508, allocations: 1.999 MB / 1.516 GB, free: 11.67 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.5532, allocations: 0.9062 MB / 1.516 GB, free: 10.77 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003286/0.5565, allocations: 2.623 MB / 1.519 GB, free: 8.133 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.5576, allocations: 0.8107 MB / 1.52 GB, free: 7.301 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004532/0.5621, allocations: 1.889 MB / 1.522 GB, free: 5.422 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.5637, allocations: 0.9653 MB / 1.523 GB, free: 4.457 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.5638, allocations: 115.9 kB / 1.523 GB, free: 4.344 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.566, allocations: 1.165 MB / 1.524 GB, free: 3.176 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005229/0.5666, allocations: 0.5064 MB / 1.524 GB, free: 2.668 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006838/0.5672, allocations: 0.6377 MB / 1.525 GB, free: 2.027 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.5697, allocations: 1.919 MB / 1.527 GB, free: 104 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5697, allocations: 0 / 1.527 GB, free: 104 kB / 1.217 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5697, allocations: 0 / 1.527 GB, free: 104 kB / 1.217 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.5697, allocations: 0 / 1.527 GB, free: 104 kB / 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.002211/0.5719, allocations: 1.415 MB / 1.528 GB, free: 14.65 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.572, allocations: 8.031 kB / 1.528 GB, free: 14.64 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.5733, allocations: 259 kB / 1.528 GB, free: 14.39 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.5746, allocations: 0.7245 MB / 1.529 GB, free: 13.63 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.5747, allocations: 70 kB / 1.529 GB, free: 13.57 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.5748, allocations: 92 kB / 1.529 GB, free: 13.48 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.5766, allocations: 1.177 MB / 1.531 GB, free: 12.23 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.5766, allocations: 7.938 kB / 1.531 GB, free: 12.22 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.484e-05/0.5767, allocations: 39.94 kB / 1.531 GB, free: 12.18 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/0.5767, allocations: 34 kB / 1.531 GB, free: 12.15 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.5781, allocations: 0.9054 MB / 1.531 GB, free: 11.24 MB / 1.232 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.005793/0.5839, allocations: 5.767 MB / 1.537 GB, free: 5.008 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008607/0.5848, allocations: 0.5087 MB / 1.538 GB, free: 4.492 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/0.5852, allocations: 303.1 kB / 1.538 GB, free: 4.191 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004908/0.5857, allocations: 76.42 kB / 1.538 GB, free: 4.113 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.5857, allocations: 39 kB / 1.538 GB, free: 4.066 MB / 1.232 GB Notification: Performance of pre-optimization done (n=49): time 2.564e-06/0.5858, allocations: 4 kB / 1.538 GB, free: 4.062 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.00151/0.5873, allocations: 0.803 MB / 1.539 GB, free: 3.254 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.5873, allocations: 55.84 kB / 1.539 GB, free: 3.188 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009169/0.5882, allocations: 0.7471 MB / 1.54 GB, free: 2.43 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.5883, allocations: 41.69 kB / 1.54 GB, free: 2.383 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.5887, allocations: 0.5155 MB / 1.54 GB, free: 1.859 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.5889, allocations: 186.4 kB / 1.54 GB, free: 1.676 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.5891, allocations: 150.5 kB / 1.54 GB, free: 1.523 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.5892, allocations: 337.9 kB / 1.541 GB, free: 1.188 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.5896, allocations: 249.9 kB / 1.541 GB, free: 0.9414 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006831/0.5903, allocations: 0.5469 MB / 1.542 GB, free: 268 kB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.5914, allocations: 0.7995 MB / 1.542 GB, free: 15.35 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.5914, allocations: 8 kB / 1.542 GB, free: 15.34 MB / 1.248 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001297/0.5927, allocations: 0.8506 MB / 1.543 GB, free: 14.48 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.5927, allocations: 8 kB / 1.543 GB, free: 14.48 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.5927, allocations: 8 kB / 1.543 GB, free: 14.47 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.5927, allocations: 12 kB / 1.543 GB, free: 14.46 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.5933, allocations: 152.4 kB / 1.543 GB, free: 14.31 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.5933, allocations: 23.86 kB / 1.543 GB, free: 14.29 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/0.594, allocations: 91.39 kB / 1.543 GB, free: 14.2 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.594, allocations: 35.94 kB / 1.543 GB, free: 14.16 MB / 1.248 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.0004573/0.5945, allocations: 333.4 kB / 1.544 GB, free: 13.82 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.5946, allocations: 91.44 kB / 1.544 GB, free: 13.73 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.5957, allocations: 0.618 MB / 1.544 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.5957, allocations: 4 kB / 1.544 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5957, allocations: 0 / 1.544 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007506/0.5964, allocations: 0.5289 MB / 1.545 GB, free: 12.56 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.5989, allocations: 1.631 MB / 1.547 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.5989, allocations: 7.938 kB / 1.547 GB, free: 10.85 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/0.5994, allocations: 111.8 kB / 1.547 GB, free: 10.74 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.5994, allocations: 8 kB / 1.547 GB, free: 10.73 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.5994, allocations: 12 kB / 1.547 GB, free: 10.72 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.5994, allocations: 4 kB / 1.547 GB, free: 10.72 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5994, allocations: 0 / 1.547 GB, free: 10.72 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.6008, allocations: 1.031 MB / 1.548 GB, free: 9.652 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.6011, allocations: 159.2 kB / 1.548 GB, free: 9.496 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.6013, allocations: 16 kB / 1.548 GB, free: 9.48 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.6017, allocations: 19.95 kB / 1.548 GB, free: 9.461 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.6018, allocations: 31.94 kB / 1.548 GB, free: 9.43 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.6018, allocations: 15.98 kB / 1.548 GB, free: 9.414 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006539/0.6025, allocations: 0.5146 MB / 1.548 GB, free: 8.906 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.6025, allocations: 3.938 kB / 1.548 GB, free: 8.902 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008704/0.6033, allocations: 299.5 kB / 1.549 GB, free: 8.609 MB / 1.248 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.0005316/0.6039, allocations: 221.1 kB / 1.549 GB, free: 8.398 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009922/0.6049, allocations: 0.5885 MB / 1.55 GB, free: 7.809 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6049, allocations: 4.25 kB / 1.55 GB, free: 7.805 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.6053, allocations: 259.8 kB / 1.55 GB, free: 7.551 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.607, allocations: 438.3 kB / 1.55 GB, free: 7.129 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.61, allocations: 1.946 MB / 1.552 GB, free: 5.129 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007937/0.6108, allocations: 1.122 MB / 1.553 GB, free: 3.98 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007219/0.6115, allocations: 271.1 kB / 1.553 GB, free: 3.711 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.6117, allocations: 71.42 kB / 1.554 GB, free: 3.641 MB / 1.248 GB Notification: Performance of SimCode: time 8.42e-07/0.6117, allocations: 0 / 1.554 GB, free: 3.641 MB / 1.248 GB Notification: Performance of Templates: time 0.02867/0.6404, allocations: 16.12 MB / 1.569 GB, free: 3.762 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/jenkins/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: 8.824271896854043]