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.001441/0.001441, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001473/0.001473, allocations: 190.9 kB / 22.17 MB, free: 5.656 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.518/1.518, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.855/2.855, allocations: 476.7 MB / 0.7645 GB, free: 10.12 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.002659/0.002659, allocations: 63.89 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2426/1.284, allocations: 196.2 MB / 1.466 GB, free: 15.61 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02536/1.309, allocations: 14.47 MB / 1.48 GB, free: 1.082 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003637/1.313, allocations: 35.81 kB / 1.48 GB, free: 1.047 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003352/1.316, allocations: 0.5124 MB / 1.48 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.008696/1.325, allocations: 1.976 MB / 1.482 GB, free: 14.55 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004152/1.329, allocations: 0.8716 MB / 1.483 GB, free: 13.68 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006084/1.335, allocations: 2.581 MB / 1.486 GB, free: 11.09 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/1.337, allocations: 0.7906 MB / 1.486 GB, free: 10.28 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007314/1.345, allocations: 1.657 MB / 1.488 GB, free: 8.637 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003611/1.348, allocations: 0.9948 MB / 1.489 GB, free: 7.641 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004032/1.349, allocations: 108 kB / 1.489 GB, free: 7.535 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004511/1.353, allocations: 1.165 MB / 1.49 GB, free: 6.367 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/1.354, allocations: 0.5103 MB / 1.491 GB, free: 5.855 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/1.356, allocations: 0.6377 MB / 1.491 GB, free: 5.215 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005346/1.361, allocations: 1.915 MB / 1.493 GB, free: 3.293 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.361, allocations: 3.938 kB / 1.493 GB, free: 3.289 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.354e-06/1.361, allocations: 0 / 1.493 GB, free: 3.289 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.974e-05/1.361, allocations: 0 / 1.493 GB, free: 3.289 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.0046/1.366, allocations: 1.482 MB / 1.495 GB, free: 1.754 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.626e-05/1.366, allocations: 12.03 kB / 1.495 GB, free: 1.742 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002272/1.368, allocations: 259 kB / 1.495 GB, free: 1.488 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/1.371, allocations: 0.8044 MB / 1.496 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.592e-05/1.371, allocations: 69.94 kB / 1.496 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/1.371, allocations: 96 kB / 1.496 GB, free: 488 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003274/1.375, allocations: 1.169 MB / 1.497 GB, free: 15.23 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/1.375, allocations: 4 kB / 1.497 GB, free: 15.23 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/1.375, allocations: 43.94 kB / 1.497 GB, free: 15.19 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-05/1.375, allocations: 37.98 kB / 1.497 GB, free: 15.15 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/1.377, 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.01066/1.388, allocations: 5.752 MB / 1.504 GB, free: 8.043 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/1.389, allocations: 0.5133 MB / 1.504 GB, free: 7.52 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000698/1.39, allocations: 294.5 kB / 1.504 GB, free: 7.223 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009285/1.391, allocations: 315.8 kB / 1.505 GB, free: 6.859 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/1.391, allocations: 35 kB / 1.505 GB, free: 6.816 MB / 1.201 GB Notification: Performance of pre-optimization done (n=49): time 3.156e-06/1.391, allocations: 0 / 1.505 GB, free: 6.816 MB / 1.201 GB Notification: Performance of matching and sorting (n=49): time 0.002579/1.394, allocations: 0.8069 MB / 1.506 GB, free: 6.008 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/1.394, allocations: 59.84 kB / 1.506 GB, free: 5.938 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/1.395, allocations: 0.7471 MB / 1.506 GB, free: 5.18 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.129e-05/1.395, allocations: 37.7 kB / 1.506 GB, free: 5.137 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006347/1.396, allocations: 0.5194 MB / 1.507 GB, free: 4.609 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/1.396, allocations: 186.4 kB / 1.507 GB, free: 4.426 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/1.397, allocations: 146.6 kB / 1.507 GB, free: 4.273 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002202/1.397, allocations: 337.9 kB / 1.507 GB, free: 3.938 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000566/1.397, allocations: 253.8 kB / 1.508 GB, free: 3.691 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/1.398, allocations: 0.5585 MB / 1.508 GB, free: 2.996 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/1.4, allocations: 0.7879 MB / 1.509 GB, free: 2.102 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/1.4, allocations: 4 kB / 1.509 GB, free: 2.098 MB / 1.201 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002098/1.402, allocations: 0.8509 MB / 1.51 GB, free: 1.238 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/1.402, allocations: 11.94 kB / 1.51 GB, free: 1.227 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/1.402, allocations: 12 kB / 1.51 GB, free: 1.215 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.855e-05/1.402, allocations: 12 kB / 1.51 GB, free: 1.203 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009885/1.403, allocations: 151.8 kB / 1.51 GB, free: 1.055 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/1.403, allocations: 11.94 kB / 1.51 GB, free: 1.043 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.404, allocations: 95.73 kB / 1.51 GB, free: 0.9492 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.405, allocations: 43.92 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.0007591/1.405, allocations: 325.4 kB / 1.511 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/1.406, allocations: 87.48 kB / 1.511 GB, free: 0.4922 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/1.407, allocations: 0.6336 MB / 1.511 GB, free: 15.85 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/1.407, allocations: 4 kB / 1.511 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.407, allocations: 0 / 1.511 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001334/1.409, allocations: 0.5211 MB / 1.512 GB, free: 15.31 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/1.413, allocations: 1.663 MB / 1.513 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.413, allocations: 15.91 kB / 1.513 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/1.414, allocations: 107.9 kB / 1.513 GB, free: 13.45 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/1.414, allocations: 3.984 kB / 1.513 GB, free: 13.45 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/1.414, allocations: 16 kB / 1.513 GB, free: 13.43 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/1.414, allocations: 4 kB / 1.513 GB, free: 13.43 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.414, allocations: 7.938 kB / 1.513 GB, free: 13.42 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/1.417, allocations: 1.015 MB / 1.514 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007318/1.418, allocations: 232.3 kB / 1.515 GB, free: 12.12 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/1.418, allocations: 12 kB / 1.515 GB, free: 12.11 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/1.419, allocations: 23.98 kB / 1.515 GB, free: 12.08 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.419, allocations: 31.75 kB / 1.515 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.163e-05/1.419, allocations: 19.98 kB / 1.515 GB, free: 12.03 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001135/1.42, allocations: 0.5107 MB / 1.515 GB, free: 11.53 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.42, allocations: 0 / 1.515 GB, free: 11.53 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001666/1.421, allocations: 299.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.0009309/1.422, allocations: 213.3 kB / 1.516 GB, free: 11.04 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001614/1.424, allocations: 0.5888 MB / 1.516 GB, free: 10.45 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.424, allocations: 0 / 1.516 GB, free: 10.45 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005945/1.425, allocations: 264.2 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.002997/1.428, allocations: 441.8 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.005326/1.433, allocations: 1.963 MB / 1.519 GB, free: 7.746 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/1.434, allocations: 1.126 MB / 1.52 GB, free: 6.594 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001431/1.436, allocations: 267 kB / 1.52 GB, free: 6.328 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/1.436, allocations: 67.42 kB / 1.52 GB, free: 6.262 MB / 1.217 GB Notification: Performance of SimCode: time 1.423e-06/1.436, allocations: 4 kB / 1.52 GB, free: 6.258 MB / 1.217 GB Notification: Performance of Templates: time 0.04795/1.484, allocations: 15.89 MB / 1.536 GB, free: 6.605 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 cvode -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: 10.04524405207485]