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.00153/0.00153, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.001442/0.001442, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.399/1.399, allocations: 230.6 MB / 252.8 MB, free: 9.086 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.156/3.156, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.001984/0.001984, allocations: 71 kB / 1.172 GB, free: 17.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3221, allocations: 180.2 MB / 1.348 GB, free: 9.898 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2374/0.5595, allocations: 198.8 MB / 1.542 GB, free: 2.359 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.5792, allocations: 14.42 MB / 1.556 GB, free: 3.906 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.5804, allocations: 55.56 kB / 1.556 GB, free: 3.852 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.5821, allocations: 0.5124 MB / 1.557 GB, free: 3.336 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004936/0.587, allocations: 1.96 MB / 1.558 GB, free: 1.367 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.5895, allocations: 0.8657 MB / 1.559 GB, free: 0.5078 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003552/0.593, allocations: 2.565 MB / 1.562 GB, free: 13.93 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.5952, allocations: 0.9312 MB / 1.563 GB, free: 12.98 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006661/0.6019, allocations: 1.886 MB / 1.565 GB, free: 11.1 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.6039, allocations: 0.9715 MB / 1.566 GB, free: 10.13 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0003824/0.6043, allocations: 104 kB / 1.566 GB, free: 10.03 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.6068, allocations: 1.146 MB / 1.567 GB, free: 8.879 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0007343/0.6075, allocations: 0.5064 MB / 1.567 GB, free: 8.371 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.6088, allocations: 0.6338 MB / 1.568 GB, free: 7.734 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003828/0.6126, allocations: 1.923 MB / 1.57 GB, free: 5.805 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6126, allocations: 0 / 1.57 GB, free: 5.805 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6126, allocations: 0 / 1.57 GB, free: 5.805 MB / 1.264 GB Notification: Performance of Transformations before backend: time 5.408e-05/0.6127, allocations: 0 / 1.57 GB, free: 5.805 MB / 1.264 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.003062/0.6157, allocations: 1.482 MB / 1.571 GB, free: 4.27 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.6158, allocations: 19.98 kB / 1.571 GB, free: 4.25 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002582/0.616, allocations: 143.6 kB / 1.571 GB, free: 4.102 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.6176, allocations: 263 kB / 1.572 GB, free: 3.844 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.6191, allocations: 0.8014 MB / 1.572 GB, free: 3 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.6192, allocations: 73.94 kB / 1.572 GB, free: 2.926 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.6194, allocations: 92 kB / 1.573 GB, free: 2.836 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.6214, allocations: 1.173 MB / 1.574 GB, free: 1.594 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.6214, allocations: 4 kB / 1.574 GB, free: 1.59 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-05/0.6215, allocations: 39.94 kB / 1.574 GB, free: 1.551 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-05/0.6216, allocations: 34 kB / 1.574 GB, free: 1.516 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.6231, allocations: 0.9054 MB / 1.575 GB, free: 0.6094 MB / 1.264 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.006922/0.6301, allocations: 5.827 MB / 1.58 GB, free: 10.3 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009348/0.631, allocations: 0.5159 MB / 1.581 GB, free: 9.781 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/0.6315, allocations: 290.6 kB / 1.581 GB, free: 9.492 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006646/0.6321, allocations: 311.7 kB / 1.581 GB, free: 9.133 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/0.6322, allocations: 46.94 kB / 1.581 GB, free: 9.078 MB / 1.279 GB Notification: Performance of pre-optimization done (n=49): time 2.585e-06/0.6322, allocations: 0 / 1.581 GB, free: 9.078 MB / 1.279 GB Notification: Performance of matching and sorting (n=49): time 0.001803/0.634, allocations: 0.7992 MB / 1.582 GB, free: 8.27 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.6341, allocations: 59.83 kB / 1.582 GB, free: 8.199 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.6351, allocations: 0.7471 MB / 1.583 GB, free: 7.445 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/0.6352, allocations: 37.7 kB / 1.583 GB, free: 7.402 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/0.6357, allocations: 0.5233 MB / 1.584 GB, free: 6.871 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.6359, allocations: 190.4 kB / 1.584 GB, free: 6.684 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.6361, allocations: 142.6 kB / 1.584 GB, free: 6.539 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6363, allocations: 337.9 kB / 1.584 GB, free: 6.203 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/0.6367, allocations: 249.8 kB / 1.584 GB, free: 5.957 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007279/0.6374, allocations: 0.5662 MB / 1.585 GB, free: 5.258 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.6386, allocations: 0.7957 MB / 1.586 GB, free: 4.352 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.6386, allocations: 4 kB / 1.586 GB, free: 4.348 MB / 1.279 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001504/0.6401, allocations: 0.8424 MB / 1.587 GB, free: 3.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.6401, allocations: 12.95 kB / 1.587 GB, free: 3.488 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.6401, allocations: 8 kB / 1.587 GB, free: 3.48 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.6401, allocations: 16 kB / 1.587 GB, free: 3.465 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.6407, allocations: 155.8 kB / 1.587 GB, free: 3.312 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.476e-05/0.6408, allocations: 15.94 kB / 1.587 GB, free: 3.297 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/0.6416, allocations: 99.31 kB / 1.587 GB, free: 3.199 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.017e-05/0.6416, allocations: 32 kB / 1.587 GB, free: 3.168 MB / 1.279 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.0005382/0.6422, allocations: 329.5 kB / 1.587 GB, free: 2.836 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.6424, allocations: 87.44 kB / 1.587 GB, free: 2.75 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.6435, allocations: 0.6257 MB / 1.588 GB, free: 2.117 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.6435, allocations: 4 kB / 1.588 GB, free: 2.113 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6435, allocations: 0 / 1.588 GB, free: 2.113 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000771/0.6443, allocations: 0.5172 MB / 1.588 GB, free: 1.586 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.6472, allocations: 1.671 MB / 1.59 GB, free: 15.83 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.6472, allocations: 0 / 1.59 GB, free: 15.83 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.6477, allocations: 115.9 kB / 1.59 GB, free: 15.72 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.6477, allocations: 4 kB / 1.59 GB, free: 15.71 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.6478, allocations: 12 kB / 1.59 GB, free: 15.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.6478, allocations: 4.219 kB / 1.59 GB, free: 15.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.6478, allocations: 11.94 kB / 1.59 GB, free: 15.69 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.6493, allocations: 1.023 MB / 1.591 GB, free: 14.62 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.6497, allocations: 232.4 kB / 1.591 GB, free: 14.38 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.6498, allocations: 16 kB / 1.591 GB, free: 14.36 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/0.6503, allocations: 14.8 kB / 1.591 GB, free: 14.35 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.6504, allocations: 39.97 kB / 1.591 GB, free: 14.31 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.6504, allocations: 23.98 kB / 1.592 GB, free: 14.29 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007214/0.6511, allocations: 0.5107 MB / 1.592 GB, free: 13.78 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.6511, allocations: 4 kB / 1.592 GB, free: 13.78 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.000963/0.6521, allocations: 307.4 kB / 1.592 GB, free: 13.48 MB / 1.295 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.002314/0.6544, allocations: 1.659 MB / 1.594 GB, free: 11.78 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.6555, allocations: 0.5847 MB / 1.594 GB, free: 11.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6555, allocations: 0 / 1.594 GB, free: 11.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.6559, allocations: 263.6 kB / 1.595 GB, free: 10.94 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.6578, allocations: 435.6 kB / 1.595 GB, free: 10.52 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.6686, allocations: 7.243 MB / 1.602 GB, free: 2.879 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008905/0.6695, allocations: 1.122 MB / 1.603 GB, free: 1.73 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008362/0.6703, allocations: 267.1 kB / 1.604 GB, free: 1.465 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/0.6709, allocations: 363.3 kB / 1.604 GB, free: 1.113 MB / 1.295 GB Notification: Performance of SimCode: time 1.412e-06/0.6709, allocations: 4 kB / 1.604 GB, free: 1.109 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7248/1.396, allocations: 23.24 MB / 1.627 GB, free: 254.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.472/10.87, allocations: 5.469 kB / 1.627 GB, free: 254.8 MB / 1.295 GB " [Timeout remaining time 289] (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: 17.38738511200063]