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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 100.8 kB / 19.74 MB, free: 2.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 219.5 kB / 23.04 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.175/3.175, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 64.64 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3315, allocations: 176.1 MB / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2203/0.5518, allocations: 172.7 MB / 1.496 GB, free: 3.527 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0187/0.5705, allocations: 13.17 MB / 1.509 GB, free: 6.316 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.5718, allocations: 51.56 kB / 1.509 GB, free: 6.266 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.5734, allocations: 496.9 kB / 1.509 GB, free: 5.777 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00528/0.5786, allocations: 1.941 MB / 1.511 GB, free: 3.828 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.5813, allocations: 0.8868 MB / 1.512 GB, free: 2.945 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003764/0.5851, allocations: 2.608 MB / 1.515 GB, free: 332 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.5864, allocations: 0.7874 MB / 1.515 GB, free: 15.51 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/0.5915, allocations: 1.892 MB / 1.517 GB, free: 13.63 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.5933, allocations: 0.9318 MB / 1.518 GB, free: 12.7 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.5935, allocations: 108 kB / 1.518 GB, free: 12.59 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.5955, allocations: 0.9196 MB / 1.519 GB, free: 11.67 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005969/0.5961, allocations: 0.5025 MB / 1.52 GB, free: 11.17 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007204/0.5969, allocations: 0.5251 MB / 1.52 GB, free: 10.64 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.5998, allocations: 1.904 MB / 1.522 GB, free: 8.73 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5998, allocations: 0 / 1.522 GB, free: 8.73 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5998, allocations: 0 / 1.522 GB, free: 8.73 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.35e-05/0.5998, allocations: 3.938 kB / 1.522 GB, free: 8.727 MB / 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.002323/0.6021, allocations: 1.417 MB / 1.523 GB, free: 7.277 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6022, allocations: 11.97 kB / 1.523 GB, free: 7.266 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.6035, allocations: 267 kB / 1.524 GB, free: 7.004 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.6049, allocations: 0.7331 MB / 1.524 GB, free: 6.242 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.605, allocations: 73.98 kB / 1.524 GB, free: 6.168 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.6052, allocations: 88 kB / 1.524 GB, free: 6.082 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.6073, allocations: 1.302 MB / 1.526 GB, free: 4.68 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.6074, allocations: 0 / 1.526 GB, free: 4.68 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/0.6074, allocations: 43.94 kB / 1.526 GB, free: 4.637 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.915e-05/0.6075, allocations: 34 kB / 1.526 GB, free: 4.602 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.609, allocations: 0.9015 MB / 1.527 GB, free: 3.699 MB / 1.217 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.005906/0.6149, allocations: 3.99 MB / 1.531 GB, free: 15.59 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009188/0.6159, allocations: 0.5124 MB / 1.531 GB, free: 15.07 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004392/0.6163, allocations: 294.6 kB / 1.531 GB, free: 14.77 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004642/0.6168, allocations: 80.36 kB / 1.531 GB, free: 14.69 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.6168, allocations: 39 kB / 1.531 GB, free: 14.64 MB / 1.232 GB Notification: Performance of pre-optimization done (n=49): time 2.585e-06/0.6168, allocations: 0 / 1.531 GB, free: 14.64 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.001544/0.6183, allocations: 0.8031 MB / 1.532 GB, free: 13.84 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.6184, allocations: 55.84 kB / 1.532 GB, free: 13.77 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008101/0.6192, allocations: 0.6566 MB / 1.533 GB, free: 13.11 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/0.6193, allocations: 37.7 kB / 1.533 GB, free: 13.07 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004141/0.6197, allocations: 0.5194 MB / 1.533 GB, free: 12.54 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.6199, allocations: 190.5 kB / 1.534 GB, free: 12.36 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.6201, allocations: 146.5 kB / 1.534 GB, free: 12.21 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.6203, allocations: 386.7 kB / 1.534 GB, free: 11.82 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.6207, allocations: 249.8 kB / 1.534 GB, free: 11.57 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/0.6215, allocations: 0.8307 MB / 1.535 GB, free: 10.54 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.6225, allocations: 0.8034 MB / 1.536 GB, free: 9.629 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.6225, allocations: 0 / 1.536 GB, free: 9.629 MB / 1.232 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001316/0.6239, allocations: 0.8424 MB / 1.537 GB, free: 8.777 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.6239, allocations: 9 kB / 1.537 GB, free: 8.77 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.6239, allocations: 8 kB / 1.537 GB, free: 8.762 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.6239, allocations: 16 kB / 1.537 GB, free: 8.746 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.6245, allocations: 155.8 kB / 1.537 GB, free: 8.594 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/0.6245, allocations: 19.92 kB / 1.537 GB, free: 8.574 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/0.6252, allocations: 75.44 kB / 1.537 GB, free: 8.5 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.6252, allocations: 36 kB / 1.537 GB, free: 8.465 MB / 1.232 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.0004656/0.6257, allocations: 339.2 kB / 1.537 GB, free: 8.125 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.6258, allocations: 79.48 kB / 1.538 GB, free: 8.047 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.6269, allocations: 0.6171 MB / 1.538 GB, free: 7.422 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.6269, allocations: 4 kB / 1.538 GB, free: 7.418 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.6269, allocations: 3.938 kB / 1.538 GB, free: 7.414 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007661/0.6276, allocations: 0.5134 MB / 1.539 GB, free: 6.887 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.63, allocations: 1.448 MB / 1.54 GB, free: 5.379 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.63, allocations: 12.22 kB / 1.54 GB, free: 5.367 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/0.6305, allocations: 103.9 kB / 1.54 GB, free: 5.266 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.6305, allocations: 4 kB / 1.54 GB, free: 5.262 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.6305, allocations: 23.92 kB / 1.54 GB, free: 5.238 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.6306, allocations: 4 kB / 1.54 GB, free: 5.234 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6306, allocations: 0 / 1.54 GB, free: 5.234 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.632, allocations: 1.008 MB / 1.541 GB, free: 4.188 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.6323, allocations: 143.3 kB / 1.541 GB, free: 4.047 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.642e-05/0.6323, allocations: 15.94 kB / 1.541 GB, free: 4.031 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.6328, allocations: 21.3 kB / 1.541 GB, free: 4.012 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.6328, allocations: 35.88 kB / 1.541 GB, free: 3.977 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.6329, allocations: 20 kB / 1.541 GB, free: 3.957 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005536/0.6334, allocations: 447 kB / 1.542 GB, free: 3.527 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6334, allocations: 0 / 1.542 GB, free: 3.527 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009135/0.6343, allocations: 311.3 kB / 1.542 GB, free: 3.223 MB / 1.232 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.0004818/0.6348, allocations: 189.5 kB / 1.542 GB, free: 3.035 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.6358, allocations: 0.5995 MB / 1.543 GB, free: 2.438 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6358, allocations: 0 / 1.543 GB, free: 2.438 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.6362, allocations: 260 kB / 1.543 GB, free: 2.184 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.6379, allocations: 379.2 kB / 1.544 GB, free: 1.82 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.641, allocations: 2.022 MB / 1.545 GB, free: 15.74 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.6416, allocations: 0.5274 MB / 1.546 GB, free: 15.18 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.6418, allocations: 71.42 kB / 1.546 GB, free: 15.11 MB / 1.248 GB Notification: Performance of SimCode: time 6.61e-07/0.6418, allocations: 0 / 1.546 GB, free: 15.11 MB / 1.248 GB Notification: Performance of Templates: time 0.0223/0.6641, allocations: 14.33 MB / 1.56 GB, free: 0.8867 MB / 1.248 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/jenkins1/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: 13.79903198289685]