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.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.001357/0.001357, 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.001584/0.001584, allocations: 210 kB / 22.24 MB, free: 4.859 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.795/2.795, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_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.002121/0.002121, allocations: 73.47 kB / 1.117 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3571, allocations: 169.9 MB / 1.283 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.226/0.5831, allocations: 172.7 MB / 1.451 GB, free: 6.898 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01891/0.602, allocations: 13.16 MB / 1.464 GB, free: 9.703 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.6035, allocations: 51.56 kB / 1.464 GB, free: 9.652 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.6053, allocations: 0.493 MB / 1.465 GB, free: 9.156 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005969/0.6113, allocations: 1.941 MB / 1.466 GB, free: 7.211 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.614, allocations: 0.8839 MB / 1.467 GB, free: 6.328 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004311/0.6183, allocations: 2.621 MB / 1.47 GB, free: 3.695 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.6198, allocations: 0.7874 MB / 1.471 GB, free: 2.887 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004834/0.6247, allocations: 1.671 MB / 1.472 GB, free: 1.227 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.6267, allocations: 0.9586 MB / 1.473 GB, free: 276 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.6269, allocations: 104 kB / 1.473 GB, free: 172 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.6294, allocations: 0.9351 MB / 1.474 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006405/0.6301, allocations: 0.5103 MB / 1.475 GB, free: 14.72 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008939/0.631, allocations: 0.5213 MB / 1.475 GB, free: 14.2 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003249/0.6342, allocations: 1.9 MB / 1.477 GB, free: 12.29 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.6342, allocations: 0 / 1.477 GB, free: 12.29 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6342, allocations: 3.938 kB / 1.477 GB, free: 12.29 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.6342, allocations: 4 kB / 1.477 GB, free: 12.28 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.002673/0.6369, allocations: 1.407 MB / 1.478 GB, free: 10.84 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.637, allocations: 8.031 kB / 1.479 GB, free: 10.83 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002661/0.6372, allocations: 147.6 kB / 1.479 GB, free: 10.68 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.6386, allocations: 259 kB / 1.479 GB, free: 10.43 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.6401, allocations: 0.7245 MB / 1.48 GB, free: 9.668 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.6403, allocations: 66 kB / 1.48 GB, free: 9.605 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.6404, allocations: 99.95 kB / 1.48 GB, free: 9.508 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.6426, allocations: 1.298 MB / 1.481 GB, free: 8.105 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.6426, allocations: 0 / 1.481 GB, free: 8.105 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/0.6427, allocations: 43.94 kB / 1.481 GB, free: 8.062 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-05/0.6427, allocations: 37.98 kB / 1.481 GB, free: 8.027 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.6442, allocations: 0.8976 MB / 1.482 GB, free: 7.129 MB / 1.186 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.006133/0.6504, allocations: 4.145 MB / 1.486 GB, free: 2.855 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009355/0.6513, allocations: 0.5047 MB / 1.487 GB, free: 2.34 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.6518, allocations: 297.5 kB / 1.487 GB, free: 2.047 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004898/0.6523, allocations: 84.28 kB / 1.487 GB, free: 1.965 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.6523, allocations: 43 kB / 1.487 GB, free: 1.914 MB / 1.186 GB Notification: Performance of pre-optimization done (n=49): time 2.504e-06/0.6523, allocations: 0 / 1.487 GB, free: 1.914 MB / 1.186 GB Notification: Performance of matching and sorting (n=49): time 0.001795/0.6541, allocations: 0.8031 MB / 1.488 GB, free: 1.105 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.6541, allocations: 59.84 kB / 1.488 GB, free: 1.035 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.6552, allocations: 0.7626 MB / 1.489 GB, free: 268 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.6554, allocations: 37.7 kB / 1.489 GB, free: 224 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.6558, allocations: 0.5156 MB / 1.489 GB, free: 15.7 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.656, allocations: 186.4 kB / 1.489 GB, free: 15.51 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.6562, allocations: 142.6 kB / 1.489 GB, free: 15.36 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.6565, allocations: 337.9 kB / 1.49 GB, free: 15.03 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/0.6569, allocations: 249.8 kB / 1.49 GB, free: 14.79 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008982/0.6578, allocations: 0.8385 MB / 1.491 GB, free: 13.75 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.6589, allocations: 0.7918 MB / 1.492 GB, free: 12.85 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.6589, allocations: 4 kB / 1.492 GB, free: 12.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0014/0.6603, allocations: 0.851 MB / 1.492 GB, free: 11.98 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.6603, allocations: 8 kB / 1.492 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.6603, allocations: 11.94 kB / 1.492 GB, free: 11.96 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.6603, allocations: 12 kB / 1.492 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.6609, allocations: 151.8 kB / 1.493 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/0.6609, allocations: 15.94 kB / 1.493 GB, free: 11.79 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007037/0.6616, allocations: 99.56 kB / 1.493 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.384e-05/0.6617, allocations: 39.98 kB / 1.493 GB, free: 11.65 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.0005262/0.6622, allocations: 330 kB / 1.493 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.6624, allocations: 91.44 kB / 1.493 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.6635, allocations: 0.6257 MB / 1.494 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6635, allocations: 4 kB / 1.494 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.6635, allocations: 0 / 1.494 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007735/0.6642, allocations: 0.5211 MB / 1.494 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.667, allocations: 1.541 MB / 1.496 GB, free: 8.441 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.667, allocations: 0 / 1.496 GB, free: 8.441 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.6675, allocations: 111.9 kB / 1.496 GB, free: 8.332 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.6675, allocations: 4 kB / 1.496 GB, free: 8.328 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.6675, allocations: 12 kB / 1.496 GB, free: 8.316 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.6675, allocations: 4 kB / 1.496 GB, free: 8.312 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6675, allocations: 8.156 kB / 1.496 GB, free: 8.305 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.669, allocations: 1.023 MB / 1.497 GB, free: 7.246 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.6694, allocations: 155.3 kB / 1.497 GB, free: 7.094 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.922e-05/0.6695, allocations: 8 kB / 1.497 GB, free: 7.086 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.6699, allocations: 19.98 kB / 1.497 GB, free: 7.066 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.67, allocations: 35.89 kB / 1.497 GB, free: 7.031 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.67, allocations: 19.98 kB / 1.497 GB, free: 7.012 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007578/0.6708, allocations: 0.5107 MB / 1.498 GB, free: 6.508 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6708, allocations: 0 / 1.498 GB, free: 6.508 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008698/0.6716, allocations: 303.4 kB / 1.498 GB, free: 6.211 MB / 1.201 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.002099/0.6737, allocations: 1.662 MB / 1.499 GB, free: 4.5 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.6748, allocations: 0.5844 MB / 1.5 GB, free: 3.918 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6748, allocations: 0.625 kB / 1.5 GB, free: 3.918 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.6752, allocations: 263.7 kB / 1.5 GB, free: 3.66 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.6771, allocations: 444.1 kB / 1.501 GB, free: 3.234 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.6874, allocations: 7.23 MB / 1.508 GB, free: 11.61 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/0.688, allocations: 0.5274 MB / 1.508 GB, free: 11.05 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008218/0.6888, allocations: 271 kB / 1.509 GB, free: 10.79 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/0.6893, allocations: 367.2 kB / 1.509 GB, free: 10.43 MB / 1.217 GB Notification: Performance of SimCode: time 8.62e-07/0.6893, allocations: 0 / 1.509 GB, free: 10.43 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06894/0.7582, allocations: 25.43 MB / 1.534 GB, free: 1.574 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.35, allocations: 9.938 kB / 1.534 GB, free: 1.57 MB / 1.232 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraSou.V from file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable vol.C[1] in file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable vol.C[1] from file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSub.C in file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSub.C from file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSubNoFlorRev.C in file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSubNoFlorRev.C from file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senPPM.ppm in file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senPPM.ppm from file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable masFraVol.V in file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraVol.V from file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.121569548733532]