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.0008561/0.0008561, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009467/0.0009467, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.9081/0.9081, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.711/1.711, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.749e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6413/0.6413, allocations: 172.5 MB / 1.119 GB, free: 30.23 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01245/0.6537, allocations: 13.13 MB / 1.132 GB, free: 21.42 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.6551, allocations: 51.62 kB / 1.132 GB, free: 21.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.6564, allocations: 0.4939 MB / 1.132 GB, free: 21.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00415/0.6606, allocations: 1.991 MB / 1.134 GB, free: 20.03 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.6625, allocations: 0.9466 MB / 1.135 GB, free: 19.54 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002286/0.6648, allocations: 2.631 MB / 1.138 GB, free: 18.32 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008924/0.6657, allocations: 0.7972 MB / 1.139 GB, free: 17.93 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003666/0.6693, allocations: 1.971 MB / 1.14 GB, free: 17.09 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.6705, allocations: 0.8869 MB / 1.141 GB, free: 16.8 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.6707, allocations: 106.8 kB / 1.141 GB, free: 16.8 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.6726, allocations: 0.9527 MB / 1.142 GB, free: 16.46 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004982/0.6731, allocations: 0.5341 MB / 1.143 GB, free: 16.22 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.6735, allocations: 460.4 kB / 1.143 GB, free: 16.04 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.6757, allocations: 1.945 MB / 1.145 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.6757, allocations: 0 / 1.145 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6757, allocations: 5.75 kB / 1.145 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.6757, allocations: 0 / 1.145 GB, free: 15.36 MB / 0.9948 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.001757/0.6775, allocations: 1.4 MB / 1.147 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.6776, allocations: 9.438 kB / 1.147 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001843/0.6777, allocations: 144.4 kB / 1.147 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009963/0.6787, allocations: 267.7 kB / 1.147 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.6798, allocations: 0.7267 MB / 1.148 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.6799, allocations: 69.69 kB / 1.148 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.68, allocations: 98.98 kB / 1.148 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.6815, allocations: 1.301 MB / 1.149 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.6815, allocations: 9.281 kB / 1.149 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.6815, allocations: 37.72 kB / 1.149 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.6816, allocations: 33.86 kB / 1.149 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.6827, allocations: 0.899 MB / 1.15 GB, free: 12.71 MB / 0.9948 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.003714/0.6865, allocations: 4.13 MB / 1.154 GB, free: 9.82 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.6872, allocations: 0.5095 MB / 1.155 GB, free: 9.621 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.6875, allocations: 296.6 kB / 1.155 GB, free: 9.512 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.6878, allocations: 77.19 kB / 1.155 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.6878, allocations: 43 kB / 1.155 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=49): time 1.863e-06/0.6878, allocations: 0 / 1.155 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of matching and sorting (n=49): time 0.001093/0.6889, allocations: 0.8104 MB / 1.156 GB, free: 9.145 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.6889, allocations: 60.19 kB / 1.156 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007542/0.6897, allocations: 0.7713 MB / 1.157 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.6897, allocations: 41.98 kB / 1.157 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.6899, allocations: 0.5132 MB / 1.157 GB, free: 8.297 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.69, allocations: 183.4 kB / 1.157 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.6902, allocations: 144.1 kB / 1.157 GB, free: 8.078 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.6902, allocations: 338.5 kB / 1.158 GB, free: 7.758 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.6905, allocations: 249.2 kB / 1.158 GB, free: 7.672 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.691, allocations: 0.8333 MB / 1.159 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000691/0.6917, allocations: 0.7988 MB / 1.16 GB, free: 6.316 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.6917, allocations: 2.969 kB / 1.16 GB, free: 6.316 MB / 0.9948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009317/0.6926, allocations: 0.8517 MB / 1.16 GB, free: 5.965 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.6926, allocations: 8.594 kB / 1.16 GB, free: 5.965 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.6926, allocations: 8.625 kB / 1.16 GB, free: 5.965 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.6927, allocations: 12.72 kB / 1.16 GB, free: 5.965 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.693, allocations: 155 kB / 1.161 GB, free: 5.949 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.693, allocations: 18.98 kB / 1.161 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.6934, allocations: 91.42 kB / 1.161 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.6934, allocations: 38.8 kB / 1.161 GB, free: 5.879 MB / 0.9948 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.0002705/0.6937, allocations: 336.5 kB / 1.161 GB, free: 5.66 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/0.6938, allocations: 91.19 kB / 1.161 GB, free: 5.613 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007443/0.6945, allocations: 0.6167 MB / 1.162 GB, free: 5.344 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.6945, allocations: 5.094 kB / 1.162 GB, free: 5.344 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6945, allocations: 0 / 1.162 GB, free: 5.344 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005851/0.6951, allocations: 0.5247 MB / 1.162 GB, free: 5.109 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.6967, allocations: 1.543 MB / 1.164 GB, free: 4.324 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6967, allocations: 1.062 kB / 1.164 GB, free: 4.324 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.697, allocations: 112.2 kB / 1.164 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.697, allocations: 11.42 kB / 1.164 GB, free: 4.309 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.6971, allocations: 26.16 kB / 1.164 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.6971, allocations: 3.5 kB / 1.164 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6971, allocations: 2.344 kB / 1.164 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009324/0.698, allocations: 1.018 MB / 1.165 GB, free: 3.773 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.6982, allocations: 152.8 kB / 1.165 GB, free: 3.691 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/0.6983, allocations: 16.81 kB / 1.165 GB, free: 3.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.6985, allocations: 18.86 kB / 1.165 GB, free: 3.672 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.6986, allocations: 32.41 kB / 1.165 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.6986, allocations: 19.47 kB / 1.165 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004538/0.699, allocations: 0.5184 MB / 1.166 GB, free: 3.453 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.699, allocations: 0 / 1.166 GB, free: 3.453 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006318/0.6997, allocations: 297.4 kB / 1.166 GB, free: 3.395 MB / 0.9948 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.001367/0.701, allocations: 1.66 MB / 1.168 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000647/0.7017, allocations: 0.5898 MB / 1.168 GB, free: 2.113 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7017, allocations: 0 / 1.168 GB, free: 2.113 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.7019, allocations: 262 kB / 1.168 GB, free: 2.027 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.7031, allocations: 436.2 kB / 1.169 GB, free: 1.902 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/0.7099, allocations: 7.173 MB / 1.176 GB, free: 13.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.7104, allocations: 0.5251 MB / 1.176 GB, free: 13.75 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005531/0.7109, allocations: 265.1 kB / 1.177 GB, free: 13.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.7113, allocations: 363.8 kB / 1.177 GB, free: 13.44 MB / 1.01 GB Notification: Performance of SimCode: time 7.31e-07/0.7113, allocations: 0 / 1.177 GB, free: 13.44 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.7534, allocations: 25.55 MB / 1.202 GB, free: 3.617 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.949, allocations: 5.938 kB / 1.202 GB, free: 3.617 MB / 1.01 GB " [Timeout remaining time 291] (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/jenkins/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: 13.128513937816024]