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.001243/0.001243, allocations: 113 kB / 16.46 MB, free: 6.453 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.001301/0.001301, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.396/1.396, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.009/3.009, allocations: 0.49 GB / 0.7916 GB, free: 33.49 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.001954/0.001954, allocations: 70.89 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3461, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2205/0.5666, allocations: 198.8 MB / 1.515 GB, free: 11.79 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01751/0.5841, allocations: 14.41 MB / 1.529 GB, free: 13.34 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.5853, allocations: 47.62 kB / 1.529 GB, free: 13.29 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.5868, allocations: 0.5163 MB / 1.53 GB, free: 12.77 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.5914, allocations: 1.96 MB / 1.532 GB, free: 10.8 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.5938, allocations: 0.8673 MB / 1.532 GB, free: 9.938 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003316/0.5971, allocations: 2.569 MB / 1.535 GB, free: 7.355 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.5987, allocations: 0.9313 MB / 1.536 GB, free: 6.402 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00501/0.6037, allocations: 1.875 MB / 1.538 GB, free: 4.539 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/0.6058, allocations: 0.9705 MB / 1.539 GB, free: 3.57 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004208/0.6063, allocations: 108 kB / 1.539 GB, free: 3.465 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.6089, allocations: 1.15 MB / 1.54 GB, free: 2.312 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008/0.6097, allocations: 0.5025 MB / 1.54 GB, free: 1.809 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.6111, allocations: 0.6378 MB / 1.541 GB, free: 1.168 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003364/0.6145, allocations: 1.919 MB / 1.543 GB, free: 15.24 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6145, allocations: 0 / 1.543 GB, free: 15.24 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6145, allocations: 4 kB / 1.543 GB, free: 15.24 MB / 1.248 GB Notification: Performance of Transformations before backend: time 5.246e-05/0.6146, allocations: 0 / 1.543 GB, free: 15.24 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.002929/0.6175, allocations: 1.486 MB / 1.544 GB, free: 13.7 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.6175, allocations: 11.98 kB / 1.544 GB, free: 13.69 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002376/0.6178, allocations: 147.6 kB / 1.544 GB, free: 13.54 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.6192, allocations: 267 kB / 1.545 GB, free: 13.27 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.6206, allocations: 0.7975 MB / 1.545 GB, free: 12.43 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.6206, allocations: 74 kB / 1.545 GB, free: 12.36 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.6208, allocations: 92 kB / 1.546 GB, free: 12.27 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.6226, allocations: 1.169 MB / 1.547 GB, free: 11.03 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.6226, allocations: 3.938 kB / 1.547 GB, free: 11.03 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.703e-05/0.6227, allocations: 43.94 kB / 1.547 GB, free: 10.98 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.353e-05/0.6227, allocations: 34 kB / 1.547 GB, free: 10.95 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.6241, allocations: 0.9054 MB / 1.548 GB, free: 10.04 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.007935/0.6321, allocations: 5.827 MB / 1.553 GB, free: 3.742 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.6331, allocations: 0.5155 MB / 1.554 GB, free: 3.219 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.6336, allocations: 296.2 kB / 1.554 GB, free: 2.926 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006672/0.6343, allocations: 315.7 kB / 1.554 GB, free: 2.562 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.6343, allocations: 39 kB / 1.554 GB, free: 2.512 MB / 1.248 GB Notification: Performance of pre-optimization done (n=49): time 2.184e-06/0.6344, allocations: 0 / 1.554 GB, free: 2.512 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.001752/0.6361, allocations: 0.803 MB / 1.555 GB, free: 1.707 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.6362, allocations: 63.84 kB / 1.555 GB, free: 1.633 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.6373, allocations: 0.7471 MB / 1.556 GB, free: 0.8789 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-05/0.6374, allocations: 37.7 kB / 1.556 GB, free: 0.8359 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.6378, allocations: 0.5194 MB / 1.557 GB, free: 316 kB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.638, allocations: 186.4 kB / 1.557 GB, free: 128 kB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.6383, allocations: 150.5 kB / 1.557 GB, free: 15.97 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6384, allocations: 337.9 kB / 1.557 GB, free: 15.63 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.6388, allocations: 245.8 kB / 1.557 GB, free: 15.39 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.6395, allocations: 0.5585 MB / 1.558 GB, free: 14.7 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.6406, allocations: 0.7995 MB / 1.559 GB, free: 13.79 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.6406, allocations: 4 kB / 1.559 GB, free: 13.79 MB / 1.264 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001435/0.642, allocations: 0.8511 MB / 1.56 GB, free: 12.93 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.642, allocations: 8 kB / 1.56 GB, free: 12.92 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.6421, allocations: 8 kB / 1.56 GB, free: 12.91 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.6421, allocations: 12 kB / 1.56 GB, free: 12.9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.6427, allocations: 155.7 kB / 1.56 GB, free: 12.75 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/0.6427, allocations: 19.88 kB / 1.56 GB, free: 12.73 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000768/0.6435, allocations: 91.33 kB / 1.56 GB, free: 12.64 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/0.6435, allocations: 39.98 kB / 1.56 GB, free: 12.6 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.0004784/0.644, allocations: 329.6 kB / 1.56 GB, free: 12.27 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.6442, allocations: 91.44 kB / 1.56 GB, free: 12.18 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.6453, allocations: 0.6141 MB / 1.561 GB, free: 11.56 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.6453, allocations: 8.031 kB / 1.561 GB, free: 11.55 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6453, allocations: 0 / 1.561 GB, free: 11.55 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007729/0.6461, allocations: 0.525 MB / 1.561 GB, free: 11.02 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.6487, allocations: 1.675 MB / 1.563 GB, free: 9.262 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.6487, allocations: 0 / 1.563 GB, free: 9.262 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.6493, allocations: 116 kB / 1.563 GB, free: 9.148 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.6493, allocations: 7.984 kB / 1.563 GB, free: 9.141 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.6493, allocations: 12 kB / 1.563 GB, free: 9.129 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.6493, allocations: 4 kB / 1.563 GB, free: 9.125 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6493, allocations: 4 kB / 1.563 GB, free: 9.121 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.6508, allocations: 1.023 MB / 1.564 GB, free: 8.059 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.6512, allocations: 236.3 kB / 1.564 GB, free: 7.809 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.6513, allocations: 12 kB / 1.564 GB, free: 7.797 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.6518, allocations: 15.98 kB / 1.565 GB, free: 7.781 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.6518, allocations: 35.75 kB / 1.565 GB, free: 7.746 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.6519, allocations: 23.98 kB / 1.565 GB, free: 7.723 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006929/0.6526, allocations: 0.5107 MB / 1.565 GB, free: 7.215 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6526, allocations: 0 / 1.565 GB, free: 7.215 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009202/0.6535, allocations: 303.4 kB / 1.565 GB, free: 6.918 MB / 1.264 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.002127/0.6556, allocations: 1.653 MB / 1.567 GB, free: 5.219 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.6567, allocations: 0.5875 MB / 1.568 GB, free: 4.633 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6567, allocations: 4 kB / 1.568 GB, free: 4.629 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.6571, allocations: 269.1 kB / 1.568 GB, free: 4.367 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.659, allocations: 437.2 kB / 1.568 GB, free: 3.949 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.6698, allocations: 7.243 MB / 1.575 GB, free: 12.32 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009338/0.6708, allocations: 1.122 MB / 1.576 GB, free: 11.17 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008263/0.6716, allocations: 271.1 kB / 1.577 GB, free: 10.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005568/0.6722, allocations: 359.3 kB / 1.577 GB, free: 10.55 MB / 1.279 GB Notification: Performance of SimCode: time 1.343e-06/0.6722, allocations: 0 / 1.577 GB, free: 10.55 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06158/0.7337, allocations: 23.24 MB / 1.6 GB, free: 3.652 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.338/10.07, allocations: 10.91 kB / 1.6 GB, free: 3.645 MB / 1.295 GB " [Timeout remaining time 290] (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: 17.03675422887318]