Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001301/0.001301, allocations: 115 kB / 17.08 MB, free: 5.805 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.001297/0.001297, allocations: 189.2 kB / 20.03 MB, free: 2.926 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.412/1.412, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 489.3 MB / 0.7687 GB, free: 3.793 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.983/0.985, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2533/1.238, allocations: 195.2 MB / 1.453 GB, free: 4.746 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01946/1.258, allocations: 14.32 MB / 1.467 GB, free: 6.547 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/1.26, allocations: 35.81 kB / 1.467 GB, free: 6.512 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/1.261, allocations: 496.8 kB / 1.468 GB, free: 6.023 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005412/1.267, allocations: 1.901 MB / 1.47 GB, free: 4.117 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/1.269, allocations: 0.8579 MB / 1.47 GB, free: 3.262 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003647/1.273, allocations: 2.568 MB / 1.473 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/1.275, allocations: 1.111 MB / 1.474 GB, free: 15.55 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005069/1.28, allocations: 1.792 MB / 1.476 GB, free: 13.77 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/1.282, allocations: 0.9045 MB / 1.477 GB, free: 12.87 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002196/1.282, allocations: 108 kB / 1.477 GB, free: 12.77 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/1.284, allocations: 1.095 MB / 1.478 GB, free: 11.67 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000553/1.285, allocations: 0.4909 MB / 1.478 GB, free: 11.18 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008065/1.286, allocations: 0.6377 MB / 1.479 GB, free: 10.54 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002836/1.288, allocations: 1.911 MB / 1.481 GB, free: 8.617 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.288, allocations: 7.875 kB / 1.481 GB, free: 8.609 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.954e-06/1.288, allocations: 0 / 1.481 GB, free: 8.609 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.111e-05/1.289, allocations: 0 / 1.481 GB, free: 8.609 MB / 1.17 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.002379/1.291, allocations: 1.482 MB / 1.482 GB, free: 7.074 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/1.291, allocations: 12.03 kB / 1.482 GB, free: 7.062 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/1.292, allocations: 267 kB / 1.482 GB, free: 6.801 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/1.294, allocations: 0.7966 MB / 1.483 GB, free: 5.961 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/1.294, allocations: 69.98 kB / 1.483 GB, free: 5.895 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/1.294, allocations: 100 kB / 1.483 GB, free: 5.797 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/1.296, allocations: 1.169 MB / 1.485 GB, free: 4.555 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/1.296, allocations: 8 kB / 1.485 GB, free: 4.547 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.665e-05/1.296, allocations: 43.88 kB / 1.485 GB, free: 4.504 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/1.296, allocations: 34 kB / 1.485 GB, free: 4.473 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/1.297, allocations: 0.9054 MB / 1.486 GB, free: 3.566 MB / 1.17 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.005867/1.303, allocations: 5.827 MB / 1.491 GB, free: 13.27 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000879/1.304, allocations: 0.5354 MB / 1.492 GB, free: 12.72 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/1.304, allocations: 322.5 kB / 1.492 GB, free: 12.4 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000596/1.305, allocations: 311.8 kB / 1.492 GB, free: 12.04 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/1.305, allocations: 39 kB / 1.492 GB, free: 12 MB / 1.186 GB Notification: Performance of pre-optimization done (n=49): time 2.064e-06/1.305, allocations: 0 / 1.492 GB, free: 12 MB / 1.186 GB Notification: Performance of matching and sorting (n=49): time 0.001517/1.307, allocations: 0.807 MB / 1.493 GB, free: 11.18 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/1.307, allocations: 59.84 kB / 1.493 GB, free: 11.11 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000932/1.308, allocations: 0.7432 MB / 1.494 GB, free: 10.36 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/1.308, allocations: 37.7 kB / 1.494 GB, free: 10.32 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/1.308, allocations: 0.5193 MB / 1.494 GB, free: 9.789 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/1.308, allocations: 186.4 kB / 1.495 GB, free: 9.605 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/1.308, allocations: 138.6 kB / 1.495 GB, free: 9.461 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.309, allocations: 341.9 kB / 1.495 GB, free: 9.121 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/1.309, allocations: 257.8 kB / 1.495 GB, free: 8.871 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/1.31, allocations: 0.5508 MB / 1.496 GB, free: 8.184 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/1.311, allocations: 0.7918 MB / 1.497 GB, free: 7.285 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.311, allocations: 0 / 1.497 GB, free: 7.285 MB / 1.186 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001304/1.312, allocations: 0.8546 MB / 1.498 GB, free: 6.422 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/1.312, allocations: 15.92 kB / 1.498 GB, free: 6.406 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/1.312, allocations: 8 kB / 1.498 GB, free: 6.398 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/1.312, allocations: 12 kB / 1.498 GB, free: 6.387 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/1.313, allocations: 147.8 kB / 1.498 GB, free: 6.242 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/1.313, allocations: 15.94 kB / 1.498 GB, free: 6.227 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/1.313, allocations: 95.84 kB / 1.498 GB, free: 6.133 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/1.313, allocations: 35.94 kB / 1.498 GB, free: 6.098 MB / 1.186 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.0004853/1.314, allocations: 337.4 kB / 1.498 GB, free: 5.758 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/1.314, allocations: 87.44 kB / 1.498 GB, free: 5.672 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/1.315, allocations: 0.6218 MB / 1.499 GB, free: 5.043 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.315, allocations: 8 kB / 1.499 GB, free: 5.035 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.315, allocations: 4 kB / 1.499 GB, free: 5.031 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007846/1.316, allocations: 0.5134 MB / 1.499 GB, free: 4.504 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/1.319, allocations: 1.671 MB / 1.501 GB, free: 2.754 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.319, allocations: 7.938 kB / 1.501 GB, free: 2.746 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/1.319, allocations: 111.9 kB / 1.501 GB, free: 2.637 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.527e-06/1.319, allocations: 4.047 kB / 1.501 GB, free: 2.633 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/1.319, allocations: 15.98 kB / 1.501 GB, free: 2.617 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.319, allocations: 7.938 kB / 1.501 GB, free: 2.609 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.319, allocations: 3.938 kB / 1.501 GB, free: 2.605 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/1.321, allocations: 1.035 MB / 1.502 GB, free: 1.531 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/1.321, allocations: 232.3 kB / 1.502 GB, free: 1.285 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/1.321, allocations: 12 kB / 1.502 GB, free: 1.273 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/1.322, allocations: 22.42 kB / 1.502 GB, free: 1.254 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/1.322, allocations: 31.95 kB / 1.502 GB, free: 1.223 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/1.322, allocations: 16 kB / 1.502 GB, free: 1.207 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006706/1.322, allocations: 0.5146 MB / 1.503 GB, free: 0.6992 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.61e-07/1.322, allocations: 0 / 1.503 GB, free: 0.6992 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008779/1.323, allocations: 299.4 kB / 1.503 GB, free: 416 kB / 1.186 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.0005516/1.324, allocations: 212 kB / 1.503 GB, free: 208 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009933/1.325, allocations: 0.6078 MB / 1.504 GB, free: 15.6 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.325, allocations: 0.625 kB / 1.504 GB, free: 15.6 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003931/1.325, allocations: 279.5 kB / 1.504 GB, free: 15.32 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/1.327, allocations: 440.9 kB / 1.505 GB, free: 14.9 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/1.33, allocations: 2.021 MB / 1.507 GB, free: 12.82 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007979/1.331, allocations: 1.126 MB / 1.508 GB, free: 11.67 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/1.331, allocations: 79.42 kB / 1.508 GB, free: 11.59 MB / 1.201 GB Notification: Performance of SimCode: time 5.31e-07/1.331, allocations: 0 / 1.508 GB, free: 11.59 MB / 1.201 GB Notification: Performance of Templates: time 0.02212/1.354, allocations: 14.64 MB / 1.522 GB, free: 13.06 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.21126919100061]