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.001852/0.001852, allocations: 108.9 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.002219/0.002219, allocations: 216.2 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.776/2.776, allocations: 476.7 MB / 0.7672 GB, free: 5.199 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.002162/0.002162, allocations: 67.91 kB / 1.112 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8192, allocations: 169.9 MB / 1.278 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2494/1.069, allocations: 198.7 MB / 1.472 GB, free: 5.988 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02593/1.095, allocations: 14.43 MB / 1.486 GB, free: 7.523 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/1.096, allocations: 51.56 kB / 1.487 GB, free: 7.473 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001987/1.098, allocations: 0.5086 MB / 1.487 GB, free: 6.961 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005915/1.104, allocations: 1.96 MB / 1.489 GB, free: 4.992 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/1.107, allocations: 0.8704 MB / 1.49 GB, free: 4.125 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004076/1.111, allocations: 2.573 MB / 1.492 GB, free: 1.543 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/1.113, allocations: 0.9273 MB / 1.493 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005626/1.119, allocations: 1.674 MB / 1.495 GB, free: 14.93 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/1.121, allocations: 0.9939 MB / 1.496 GB, free: 13.93 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004475/1.121, allocations: 104 kB / 1.496 GB, free: 13.83 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/1.124, allocations: 1.169 MB / 1.497 GB, free: 12.66 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008987/1.125, allocations: 0.4986 MB / 1.498 GB, free: 12.16 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001572/1.127, allocations: 0.6416 MB / 1.498 GB, free: 11.52 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004401/1.131, allocations: 1.915 MB / 1.5 GB, free: 9.594 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.131, allocations: 0 / 1.5 GB, free: 9.594 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.805e-06/1.131, allocations: 0 / 1.5 GB, free: 9.594 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.245e-05/1.131, allocations: 0 / 1.5 GB, free: 9.594 MB / 1.201 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.004524/1.136, allocations: 1.482 MB / 1.501 GB, free: 8.059 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/1.136, allocations: 8.031 kB / 1.501 GB, free: 8.051 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004469/1.136, allocations: 151.5 kB / 1.502 GB, free: 7.895 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/1.138, allocations: 258.9 kB / 1.502 GB, free: 7.641 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/1.14, allocations: 0.8006 MB / 1.503 GB, free: 6.797 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.517e-05/1.14, allocations: 66 kB / 1.503 GB, free: 6.734 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/1.141, allocations: 104 kB / 1.503 GB, free: 6.633 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/1.143, allocations: 1.165 MB / 1.504 GB, free: 5.395 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/1.143, allocations: 11.92 kB / 1.504 GB, free: 5.383 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/1.143, allocations: 39.94 kB / 1.504 GB, free: 5.344 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.03e-05/1.143, allocations: 34 kB / 1.504 GB, free: 5.312 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/1.145, allocations: 0.9015 MB / 1.505 GB, free: 4.41 MB / 1.201 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.007383/1.152, allocations: 5.744 MB / 1.511 GB, free: 14.21 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009641/1.153, allocations: 0.5236 MB / 1.511 GB, free: 13.68 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/1.154, allocations: 299.1 kB / 1.511 GB, free: 13.38 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000658/1.154, allocations: 315.7 kB / 1.512 GB, free: 13.02 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/1.154, allocations: 35 kB / 1.512 GB, free: 12.98 MB / 1.217 GB Notification: Performance of pre-optimization done (n=49): time 2.144e-06/1.154, allocations: 0 / 1.512 GB, free: 12.98 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.001785/1.156, allocations: 0.803 MB / 1.512 GB, free: 12.17 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/1.156, allocations: 59.84 kB / 1.512 GB, free: 12.1 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/1.157, allocations: 0.7471 MB / 1.513 GB, free: 11.34 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.918e-05/1.158, allocations: 41.7 kB / 1.513 GB, free: 11.29 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/1.158, allocations: 0.5233 MB / 1.514 GB, free: 10.76 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/1.158, allocations: 186.4 kB / 1.514 GB, free: 10.58 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/1.158, allocations: 146.6 kB / 1.514 GB, free: 10.43 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.159, allocations: 337.9 kB / 1.514 GB, free: 10.09 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004373/1.159, allocations: 245.8 kB / 1.515 GB, free: 9.852 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/1.16, allocations: 0.5508 MB / 1.515 GB, free: 9.164 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.161, allocations: 0.8034 MB / 1.516 GB, free: 8.254 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/1.161, allocations: 4 kB / 1.516 GB, free: 8.25 MB / 1.217 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001569/1.163, allocations: 0.8472 MB / 1.517 GB, free: 7.398 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/1.163, allocations: 8 kB / 1.517 GB, free: 7.391 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.163, allocations: 12.12 kB / 1.517 GB, free: 7.379 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/1.163, allocations: 12 kB / 1.517 GB, free: 7.367 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/1.163, allocations: 155.7 kB / 1.517 GB, free: 7.215 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/1.163, allocations: 15.94 kB / 1.517 GB, free: 7.199 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009286/1.164, allocations: 95.33 kB / 1.517 GB, free: 7.105 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.733e-05/1.164, allocations: 39.98 kB / 1.517 GB, free: 7.066 MB / 1.217 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.0005451/1.165, allocations: 329.4 kB / 1.517 GB, free: 6.734 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/1.165, allocations: 87.44 kB / 1.518 GB, free: 6.648 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/1.166, allocations: 0.6257 MB / 1.518 GB, free: 6.012 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.791e-05/1.166, allocations: 4 kB / 1.518 GB, free: 6.008 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.166, allocations: 4 kB / 1.518 GB, free: 6.004 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008651/1.167, allocations: 0.5211 MB / 1.519 GB, free: 5.473 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/1.17, allocations: 1.663 MB / 1.52 GB, free: 3.73 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.17, allocations: 7.984 kB / 1.52 GB, free: 3.723 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/1.171, allocations: 107.8 kB / 1.52 GB, free: 3.617 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/1.171, allocations: 4 kB / 1.52 GB, free: 3.613 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/1.171, allocations: 24.2 kB / 1.52 GB, free: 3.59 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/1.171, allocations: 4 kB / 1.52 GB, free: 3.586 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.171, allocations: 4 kB / 1.52 GB, free: 3.582 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/1.172, allocations: 1.023 MB / 1.521 GB, free: 2.52 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/1.173, allocations: 224.5 kB / 1.522 GB, free: 2.281 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/1.173, allocations: 12 kB / 1.522 GB, free: 2.27 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/1.173, allocations: 19.98 kB / 1.522 GB, free: 2.25 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.303e-05/1.173, allocations: 27.97 kB / 1.522 GB, free: 2.223 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/1.174, allocations: 27.92 kB / 1.522 GB, free: 2.195 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008546/1.174, allocations: 0.5107 MB / 1.522 GB, free: 1.691 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.174, allocations: 0 / 1.522 GB, free: 1.691 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00104/1.175, allocations: 303.4 kB / 1.522 GB, free: 1.395 MB / 1.217 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.002471/1.178, allocations: 1.671 MB / 1.524 GB, free: 15.68 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001152/1.179, allocations: 0.5882 MB / 1.525 GB, free: 15.09 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.179, allocations: 0 / 1.525 GB, free: 15.09 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004083/1.179, allocations: 255.7 kB / 1.525 GB, free: 14.84 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/1.182, allocations: 440.9 kB / 1.525 GB, free: 14.42 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/1.193, allocations: 7.242 MB / 1.532 GB, free: 6.789 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008669/1.194, allocations: 1.125 MB / 1.534 GB, free: 5.637 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009626/1.195, allocations: 271 kB / 1.534 GB, free: 5.367 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005931/1.195, allocations: 363.3 kB / 1.534 GB, free: 5.012 MB / 1.232 GB Notification: Performance of SimCode: time 1.413e-06/1.195, allocations: 0 / 1.534 GB, free: 5.012 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06609/1.261, allocations: 23.21 MB / 1.557 GB, free: 14.16 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/11.36, allocations: 15.81 kB / 1.557 GB, free: 14.14 MB / 1.264 GB " [Timeout remaining time 289] (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: 17.667088716989383]