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.001532/0.001532, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001579/0.001579, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.457/1.457, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.626/2.626, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 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.002208/0.002208, allocations: 71.89 kB / 1.057 GB, free: 1.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3386, allocations: 160.7 MB / 1.214 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 1.01/1.349, allocations: 195.8 MB / 1.405 GB, free: 5.52 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02039/1.369, allocations: 14.37 MB / 1.419 GB, free: 9.898 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/1.371, allocations: 39.56 kB / 1.419 GB, free: 9.883 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001727/1.373, allocations: 0.5183 MB / 1.42 GB, free: 9.449 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005328/1.378, allocations: 1.965 MB / 1.422 GB, free: 7.953 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002626/1.381, allocations: 0.8623 MB / 1.423 GB, free: 7.297 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003388/1.384, allocations: 2.584 MB / 1.425 GB, free: 5.816 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/1.386, allocations: 0.9309 MB / 1.426 GB, free: 5.234 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00432/1.39, allocations: 1.638 MB / 1.428 GB, free: 4.254 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/1.392, allocations: 0.9939 MB / 1.429 GB, free: 3.664 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/1.392, allocations: 106.3 kB / 1.429 GB, free: 3.664 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/1.394, allocations: 1.165 MB / 1.43 GB, free: 3.039 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000546/1.395, allocations: 0.5109 MB / 1.43 GB, free: 2.695 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007821/1.396, allocations: 0.6335 MB / 1.431 GB, free: 2.289 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/1.399, allocations: 1.913 MB / 1.433 GB, free: 1.051 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/1.399, allocations: 0 / 1.433 GB, free: 1.051 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.593e-06/1.399, allocations: 0 / 1.433 GB, free: 1.051 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.037e-05/1.399, allocations: 0 / 1.433 GB, free: 1.051 MB / 1.092 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.002466/1.401, allocations: 1.491 MB / 1.434 GB, free: 15.58 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.401, allocations: 16.02 kB / 1.434 GB, free: 15.57 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/1.403, allocations: 247.1 kB / 1.435 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/1.404, allocations: 0.8044 MB / 1.435 GB, free: 14.48 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/1.404, allocations: 66 kB / 1.435 GB, free: 14.41 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/1.404, allocations: 99.98 kB / 1.436 GB, free: 14.32 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/1.406, allocations: 1.169 MB / 1.437 GB, free: 13.07 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/1.406, allocations: 7.938 kB / 1.437 GB, free: 13.07 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-05/1.406, allocations: 36 kB / 1.437 GB, free: 13.03 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/1.406, allocations: 41.92 kB / 1.437 GB, free: 12.99 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/1.408, allocations: 0.8976 MB / 1.438 GB, free: 12.09 MB / 1.107 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.006121/1.414, allocations: 5.763 MB / 1.443 GB, free: 5.875 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000875/1.415, allocations: 0.511 MB / 1.444 GB, free: 5.359 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/1.415, allocations: 302.6 kB / 1.444 GB, free: 5.062 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006144/1.416, allocations: 311.7 kB / 1.444 GB, free: 4.703 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/1.416, allocations: 43 kB / 1.444 GB, free: 4.652 MB / 1.107 GB Notification: Performance of pre-optimization done (n=49): time 2.665e-06/1.416, allocations: 0 / 1.444 GB, free: 4.652 MB / 1.107 GB Notification: Performance of matching and sorting (n=49): time 0.001627/1.417, allocations: 0.8069 MB / 1.445 GB, free: 3.836 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/1.417, allocations: 55.84 kB / 1.445 GB, free: 3.77 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009483/1.418, allocations: 0.7471 MB / 1.446 GB, free: 3.016 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/1.418, allocations: 37.7 kB / 1.446 GB, free: 2.973 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/1.419, allocations: 0.5194 MB / 1.446 GB, free: 2.445 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/1.419, allocations: 186.4 kB / 1.447 GB, free: 2.262 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/1.419, allocations: 150.5 kB / 1.447 GB, free: 2.109 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.419, allocations: 337.9 kB / 1.447 GB, free: 1.773 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/1.42, allocations: 241.9 kB / 1.447 GB, free: 1.539 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/1.42, allocations: 0.5546 MB / 1.448 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/1.421, allocations: 0.8073 MB / 1.449 GB, free: 15.93 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/1.421, allocations: 4 kB / 1.449 GB, free: 15.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00134/1.423, allocations: 0.8464 MB / 1.45 GB, free: 15.07 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.423, allocations: 8.938 kB / 1.45 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.423, allocations: 8 kB / 1.45 GB, free: 15.06 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/1.423, allocations: 12 kB / 1.45 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/1.423, allocations: 159.7 kB / 1.45 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/1.423, allocations: 19.88 kB / 1.45 GB, free: 14.87 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/1.424, allocations: 87.39 kB / 1.45 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.524e-05/1.424, allocations: 36 kB / 1.45 GB, free: 14.75 MB / 1.123 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.0004647/1.425, allocations: 333.4 kB / 1.45 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/1.425, allocations: 91.44 kB / 1.45 GB, free: 14.32 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/1.426, allocations: 0.6179 MB / 1.451 GB, free: 13.7 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.426, allocations: 7.984 kB / 1.451 GB, free: 13.69 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.426, allocations: 0 / 1.451 GB, free: 13.69 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007641/1.427, allocations: 0.5172 MB / 1.451 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/1.429, allocations: 1.663 MB / 1.453 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/1.429, allocations: 0 / 1.453 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/1.43, allocations: 119.8 kB / 1.453 GB, free: 11.3 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/1.43, allocations: 7.984 kB / 1.453 GB, free: 11.29 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/1.43, allocations: 15.98 kB / 1.453 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.43, allocations: 4 kB / 1.453 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.43, allocations: 8.219 kB / 1.453 GB, free: 11.26 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/1.431, allocations: 1.019 MB / 1.454 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/1.432, allocations: 232.8 kB / 1.454 GB, free: 9.957 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/1.432, allocations: 16 kB / 1.454 GB, free: 9.941 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/1.432, allocations: 12.75 kB / 1.454 GB, free: 9.93 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/1.432, allocations: 31.95 kB / 1.454 GB, free: 9.898 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/1.432, allocations: 23.98 kB / 1.454 GB, free: 9.875 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007141/1.433, allocations: 0.5068 MB / 1.455 GB, free: 9.375 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.433, allocations: 4 kB / 1.455 GB, free: 9.371 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009811/1.434, allocations: 299.5 kB / 1.455 GB, free: 9.078 MB / 1.123 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.0005934/1.435, allocations: 215.5 kB / 1.455 GB, free: 8.875 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001081/1.436, allocations: 0.5885 MB / 1.456 GB, free: 8.293 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.436, allocations: 0 / 1.456 GB, free: 8.293 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003924/1.436, allocations: 263.5 kB / 1.456 GB, free: 8.035 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/1.438, allocations: 444.5 kB / 1.457 GB, free: 7.613 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/1.441, allocations: 2.028 MB / 1.459 GB, free: 5.527 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007836/1.442, allocations: 1.129 MB / 1.46 GB, free: 4.371 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/1.442, allocations: 79.42 kB / 1.46 GB, free: 4.293 MB / 1.123 GB Notification: Performance of SimCode: time 1.322e-06/1.442, allocations: 3.938 kB / 1.46 GB, free: 4.289 MB / 1.123 GB Notification: Performance of Templates: time 0.02442/1.467, allocations: 14.71 MB / 1.474 GB, free: 5.707 MB / 1.139 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.81303291209042]