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.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.001474/0.001474, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001394/0.001394, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.342/1.342, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.037/3.037, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [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.001904/0.001904, allocations: 70.52 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3107, allocations: 181.9 MB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1966/0.5073, allocations: 172.7 MB / 1.532 GB, free: 0.625 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.5241, allocations: 13.16 MB / 1.545 GB, free: 3.426 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.5252, allocations: 51.56 kB / 1.545 GB, free: 3.375 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.5267, allocations: 0.4969 MB / 1.545 GB, free: 2.875 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.5312, allocations: 1.937 MB / 1.547 GB, free: 0.9297 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.5334, allocations: 0.8764 MB / 1.548 GB, free: 60 kB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003135/0.5365, allocations: 2.607 MB / 1.551 GB, free: 13.45 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.5376, allocations: 0.8107 MB / 1.552 GB, free: 12.61 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004452/0.5421, allocations: 1.878 MB / 1.553 GB, free: 10.74 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.5436, allocations: 0.9317 MB / 1.554 GB, free: 9.809 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.5438, allocations: 108 kB / 1.554 GB, free: 9.703 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.5458, allocations: 0.9196 MB / 1.555 GB, free: 8.781 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005197/0.5464, allocations: 0.4986 MB / 1.556 GB, free: 8.281 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006153/0.547, allocations: 0.529 MB / 1.556 GB, free: 7.75 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.5494, allocations: 1.907 MB / 1.558 GB, free: 5.836 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5494, allocations: 0 / 1.558 GB, free: 5.836 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5494, allocations: 4 kB / 1.558 GB, free: 5.832 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.5494, allocations: 0 / 1.558 GB, free: 5.832 MB / 1.248 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.002253/0.5517, allocations: 1.411 MB / 1.56 GB, free: 4.387 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5517, allocations: 12.03 kB / 1.56 GB, free: 4.375 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.5519, allocations: 143.6 kB / 1.56 GB, free: 4.227 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.5531, allocations: 263 kB / 1.56 GB, free: 3.969 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.5545, allocations: 0.7331 MB / 1.561 GB, free: 3.207 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/0.5546, allocations: 66 kB / 1.561 GB, free: 3.141 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.5547, allocations: 99.94 kB / 1.561 GB, free: 3.043 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.5564, allocations: 1.302 MB / 1.562 GB, free: 1.641 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.5564, allocations: 7.875 kB / 1.562 GB, free: 1.633 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.053e-05/0.5565, allocations: 43.92 kB / 1.562 GB, free: 1.59 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/0.5566, allocations: 34 kB / 1.562 GB, free: 1.555 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.5579, allocations: 0.8937 MB / 1.563 GB, free: 0.6641 MB / 1.248 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.005029/0.5629, allocations: 4.13 MB / 1.567 GB, free: 12.4 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008331/0.5638, allocations: 0.5164 MB / 1.568 GB, free: 11.88 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/0.5642, allocations: 297.5 kB / 1.568 GB, free: 11.58 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004428/0.5646, allocations: 76.36 kB / 1.568 GB, free: 11.51 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.5647, allocations: 35 kB / 1.568 GB, free: 11.46 MB / 1.264 GB Notification: Performance of pre-optimization done (n=49): time 2.104e-06/0.5647, allocations: 4 kB / 1.568 GB, free: 11.46 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.001463/0.5661, allocations: 0.8109 MB / 1.569 GB, free: 10.64 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.5662, allocations: 55.84 kB / 1.569 GB, free: 10.57 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009092/0.5671, allocations: 0.7626 MB / 1.57 GB, free: 9.801 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.5671, allocations: 37.7 kB / 1.57 GB, free: 9.758 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.5675, allocations: 0.5194 MB / 1.57 GB, free: 9.23 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.5677, allocations: 186.4 kB / 1.57 GB, free: 9.047 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.5679, allocations: 142.6 kB / 1.57 GB, free: 8.902 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.568, allocations: 337.9 kB / 1.571 GB, free: 8.566 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.5684, allocations: 249.9 kB / 1.571 GB, free: 8.32 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007798/0.5692, allocations: 0.8307 MB / 1.572 GB, free: 7.289 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.5702, allocations: 0.8034 MB / 1.573 GB, free: 6.375 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.5702, allocations: 11.94 kB / 1.573 GB, free: 6.363 MB / 1.264 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001244/0.5715, allocations: 0.8507 MB / 1.573 GB, free: 5.508 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5715, allocations: 12 kB / 1.573 GB, free: 5.496 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.5715, allocations: 8 kB / 1.573 GB, free: 5.488 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.5715, allocations: 12 kB / 1.573 GB, free: 5.477 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.572, allocations: 151.8 kB / 1.574 GB, free: 5.328 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.5721, allocations: 19.92 kB / 1.574 GB, free: 5.309 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/0.5727, allocations: 99.77 kB / 1.574 GB, free: 5.211 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.5728, allocations: 36 kB / 1.574 GB, free: 5.176 MB / 1.264 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.0004091/0.5732, allocations: 323.7 kB / 1.574 GB, free: 4.852 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.5733, allocations: 95.38 kB / 1.574 GB, free: 4.758 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009791/0.5743, allocations: 0.6141 MB / 1.575 GB, free: 4.137 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.5743, allocations: 4 kB / 1.575 GB, free: 4.133 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5743, allocations: 0 / 1.575 GB, free: 4.133 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007322/0.5751, allocations: 0.5289 MB / 1.575 GB, free: 3.594 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.5774, allocations: 1.537 MB / 1.577 GB, free: 1.984 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5775, allocations: 4 kB / 1.577 GB, free: 1.98 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/0.5779, allocations: 107.9 kB / 1.577 GB, free: 1.875 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5779, allocations: 4 kB / 1.577 GB, free: 1.871 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.578, allocations: 12.22 kB / 1.577 GB, free: 1.859 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.578, allocations: 11.94 kB / 1.577 GB, free: 1.848 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.578, allocations: 7.938 kB / 1.577 GB, free: 1.84 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.5793, allocations: 1.027 MB / 1.578 GB, free: 0.7734 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.5797, allocations: 147.3 kB / 1.578 GB, free: 0.6289 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.9e-05/0.5798, allocations: 12 kB / 1.578 GB, free: 0.6172 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.5802, allocations: 17.08 kB / 1.578 GB, free: 0.6016 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.5802, allocations: 31.94 kB / 1.578 GB, free: 0.5703 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.5803, allocations: 23.98 kB / 1.578 GB, free: 0.5469 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006184/0.5809, allocations: 0.5146 MB / 1.579 GB, free: 36 kB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5809, allocations: 4 kB / 1.579 GB, free: 32 kB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008116/0.5817, allocations: 307.3 kB / 1.579 GB, free: 15.73 MB / 1.279 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.001902/0.5836, allocations: 1.655 MB / 1.581 GB, free: 14.04 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.000895/0.5845, allocations: 0.5925 MB / 1.581 GB, free: 13.45 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5845, allocations: 4.062 kB / 1.581 GB, free: 13.44 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.5849, allocations: 255.7 kB / 1.581 GB, free: 13.19 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.5866, allocations: 443.5 kB / 1.582 GB, free: 12.77 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009157/0.5958, allocations: 7.247 MB / 1.589 GB, free: 5.129 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.5964, allocations: 0.5278 MB / 1.589 GB, free: 4.57 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0007409/0.5971, allocations: 267.1 kB / 1.59 GB, free: 4.305 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/0.5976, allocations: 363.3 kB / 1.59 GB, free: 3.953 MB / 1.279 GB Notification: Performance of SimCode: time 7.71e-07/0.5976, allocations: 0 / 1.59 GB, free: 3.953 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6054/1.203, allocations: 25.44 MB / 1.615 GB, free: 245.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.53, allocations: 2.797 kB / 1.615 GB, free: 245.4 MB / 1.295 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable masFraSou.V in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraSou.V from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable vol.C[1] in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable vol.C[1] from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSub.C in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSub.C from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSubNoFlorRev.C in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSubNoFlorRev.C from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senPPM.ppm in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senPPM.ppm from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable masFraVol.V in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraVol.V from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.848536120261997]