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.00126/0.00126, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001612/0.001612, allocations: 219.7 kB / 22.24 MB, free: 5.102 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.417/1.417, 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 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.121/3.121, allocations: 0.49 GB / 0.7951 GB, free: 35.59 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_12_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.001951/0.001951, allocations: 65.39 kB / 1.154 GB, free: 25.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3371, allocations: 176.1 MB / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.207/0.5441, allocations: 172.7 MB / 1.495 GB, free: 4.043 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01785/0.562, allocations: 13.16 MB / 1.507 GB, free: 6.844 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.5632, allocations: 51.56 kB / 1.507 GB, free: 6.793 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.5647, allocations: 0.4891 MB / 1.508 GB, free: 6.301 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005195/0.5699, allocations: 1.953 MB / 1.51 GB, free: 4.34 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.5725, allocations: 0.8988 MB / 1.511 GB, free: 3.445 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003596/0.5761, allocations: 2.624 MB / 1.513 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.5776, allocations: 0.8031 MB / 1.514 GB, free: 15.98 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005564/0.5832, allocations: 1.89 MB / 1.516 GB, free: 14.11 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/0.5853, allocations: 0.9715 MB / 1.517 GB, free: 13.13 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003048/0.5857, allocations: 104 kB / 1.517 GB, free: 13.03 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.5878, allocations: 0.9313 MB / 1.518 GB, free: 12.1 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006565/0.5885, allocations: 0.5064 MB / 1.518 GB, free: 11.59 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008698/0.5894, allocations: 0.5329 MB / 1.519 GB, free: 11.05 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003447/0.5928, allocations: 1.896 MB / 1.521 GB, free: 9.152 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5928, allocations: 0 / 1.521 GB, free: 9.152 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5928, allocations: 0 / 1.521 GB, free: 9.152 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.735e-05/0.5928, allocations: 0 / 1.521 GB, free: 9.152 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.002456/0.5953, allocations: 1.411 MB / 1.522 GB, free: 7.707 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.5953, allocations: 8.031 kB / 1.522 GB, free: 7.699 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.5955, allocations: 151.5 kB / 1.522 GB, free: 7.543 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.5969, allocations: 259 kB / 1.523 GB, free: 7.289 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.5985, allocations: 0.7292 MB / 1.523 GB, free: 6.531 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/0.5986, allocations: 73.98 kB / 1.523 GB, free: 6.457 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.5987, allocations: 99.88 kB / 1.523 GB, free: 6.359 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.6006, allocations: 1.294 MB / 1.525 GB, free: 4.965 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.6006, allocations: 7.938 kB / 1.525 GB, free: 4.957 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/0.6007, allocations: 43.94 kB / 1.525 GB, free: 4.914 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-05/0.6008, allocations: 41.98 kB / 1.525 GB, free: 4.871 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.6022, allocations: 0.9015 MB / 1.526 GB, free: 3.969 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.005554/0.6077, allocations: 4.122 MB / 1.53 GB, free: 15.71 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/0.6086, allocations: 0.5109 MB / 1.53 GB, free: 15.2 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004376/0.609, allocations: 294.6 kB / 1.53 GB, free: 14.9 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005081/0.6096, allocations: 80.36 kB / 1.53 GB, free: 14.82 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.6096, allocations: 42.94 kB / 1.531 GB, free: 14.77 MB / 1.232 GB Notification: Performance of pre-optimization done (n=49): time 2.735e-06/0.6096, allocations: 0 / 1.531 GB, free: 14.77 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.001622/0.6112, allocations: 0.803 MB / 1.531 GB, free: 13.96 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.6113, allocations: 67.83 kB / 1.531 GB, free: 13.89 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000996/0.6123, allocations: 0.7549 MB / 1.532 GB, free: 13.12 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.6123, allocations: 41.64 kB / 1.532 GB, free: 13.08 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.6128, allocations: 0.5195 MB / 1.533 GB, free: 12.55 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.6129, allocations: 186.4 kB / 1.533 GB, free: 12.37 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.6131, allocations: 142.6 kB / 1.533 GB, free: 12.22 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6133, allocations: 341.9 kB / 1.533 GB, free: 11.88 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.6137, allocations: 245.8 kB / 1.534 GB, free: 11.64 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007842/0.6145, allocations: 0.8346 MB / 1.534 GB, free: 10.61 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.6155, allocations: 0.8035 MB / 1.535 GB, free: 9.691 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.6155, allocations: 0 / 1.535 GB, free: 9.691 MB / 1.232 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001316/0.6168, allocations: 0.8511 MB / 1.536 GB, free: 8.832 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6168, allocations: 8 kB / 1.536 GB, free: 8.824 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6168, allocations: 8 kB / 1.536 GB, free: 8.816 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.6169, allocations: 12 kB / 1.536 GB, free: 8.805 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/0.6174, allocations: 155.8 kB / 1.536 GB, free: 8.652 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/0.6175, allocations: 19.92 kB / 1.536 GB, free: 8.633 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.6181, allocations: 91.27 kB / 1.536 GB, free: 8.543 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/0.6182, allocations: 36 kB / 1.536 GB, free: 8.508 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.0004741/0.6187, allocations: 337.6 kB / 1.537 GB, free: 8.168 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.6188, allocations: 87.44 kB / 1.537 GB, free: 8.082 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.6198, allocations: 0.614 MB / 1.537 GB, free: 7.465 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.6198, allocations: 12.03 kB / 1.537 GB, free: 7.453 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6198, allocations: 0 / 1.537 GB, free: 7.453 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007188/0.6205, allocations: 0.5172 MB / 1.538 GB, free: 6.922 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.6231, allocations: 1.553 MB / 1.539 GB, free: 5.297 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.6231, allocations: 4 kB / 1.539 GB, free: 5.293 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.6236, allocations: 103.9 kB / 1.539 GB, free: 5.191 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.6236, allocations: 4 kB / 1.539 GB, free: 5.188 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.6236, allocations: 31.86 kB / 1.539 GB, free: 5.156 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.6236, allocations: 4 kB / 1.539 GB, free: 5.152 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6236, allocations: 0 / 1.539 GB, free: 5.152 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.6251, allocations: 1.027 MB / 1.54 GB, free: 4.086 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/0.6255, allocations: 147.4 kB / 1.541 GB, free: 3.941 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.6256, allocations: 15.98 kB / 1.541 GB, free: 3.926 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.626, allocations: 16 kB / 1.541 GB, free: 3.91 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.6261, allocations: 35.88 kB / 1.541 GB, free: 3.875 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.6261, allocations: 19.98 kB / 1.541 GB, free: 3.855 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006642/0.6268, allocations: 0.5107 MB / 1.541 GB, free: 3.348 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6268, allocations: 0 / 1.541 GB, free: 3.348 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008996/0.6277, allocations: 307.3 kB / 1.541 GB, free: 3.047 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.002063/0.6297, allocations: 1.649 MB / 1.543 GB, free: 1.355 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.6307, allocations: 0.5808 MB / 1.544 GB, free: 0.7734 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.6307, allocations: 4 kB / 1.544 GB, free: 0.7695 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.6311, allocations: 268.3 kB / 1.544 GB, free: 0.5078 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.633, allocations: 448.5 kB / 1.544 GB, free: 88 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.6431, allocations: 7.242 MB / 1.551 GB, free: 8.453 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.6437, allocations: 0.5239 MB / 1.552 GB, free: 7.898 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000787/0.6445, allocations: 271.1 kB / 1.552 GB, free: 7.629 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/0.645, allocations: 359.3 kB / 1.553 GB, free: 7.277 MB / 1.248 GB Notification: Performance of SimCode: time 1.132e-06/0.645, allocations: 0 / 1.553 GB, free: 7.277 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06231/0.7073, allocations: 25.73 MB / 1.578 GB, free: 14.11 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.07, allocations: 2.578 kB / 1.578 GB, free: 14.11 MB / 1.279 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv","/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] "Error: Could not read variable masFraSou.V in file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraSou.V from file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable vol.C[1] in file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable vol.C[1] from file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSub.C in file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSub.C from file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSubNoFlorRev.C in file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSubNoFlorRev.C from file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senPPM.ppm in file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senPPM.ppm from file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable masFraVol.V in file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraVol.V from file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.545824765984435]