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.001304/0.001304, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001411/0.001411, allocations: 214.5 kB / 22.25 MB, free: 5.242 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.377/1.377, allocations: 230.6 MB / 256 MB, free: 7.781 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 2.976/2.976, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.002018/0.002018, allocations: 67.33 kB / 1.153 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3264, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2101/0.5364, allocations: 172.7 MB / 1.494 GB, free: 4.988 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01785/0.5543, allocations: 13.16 MB / 1.507 GB, free: 7.789 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.5558, allocations: 47.62 kB / 1.507 GB, free: 7.742 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.5575, allocations: 0.4969 MB / 1.507 GB, free: 7.242 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005274/0.5628, allocations: 1.933 MB / 1.509 GB, free: 5.301 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.5656, allocations: 0.8866 MB / 1.51 GB, free: 4.418 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003833/0.5694, allocations: 2.608 MB / 1.512 GB, free: 1.797 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.5711, allocations: 0.7912 MB / 1.513 GB, free: 0.9805 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005584/0.5766, allocations: 1.897 MB / 1.515 GB, free: 15.1 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.5787, allocations: 0.9283 MB / 1.516 GB, free: 14.17 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003888/0.5791, allocations: 108 kB / 1.516 GB, free: 14.06 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.5816, allocations: 0.9196 MB / 1.517 GB, free: 13.14 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007605/0.5823, allocations: 0.5064 MB / 1.517 GB, free: 12.63 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.5835, allocations: 0.5368 MB / 1.518 GB, free: 12.09 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003725/0.5872, allocations: 1.896 MB / 1.52 GB, free: 10.19 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5872, allocations: 0 / 1.52 GB, free: 10.19 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5872, allocations: 0 / 1.52 GB, free: 10.19 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.467e-05/0.5873, allocations: 0 / 1.52 GB, free: 10.19 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.003621/0.5909, allocations: 1.407 MB / 1.521 GB, free: 8.75 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.591, allocations: 12.03 kB / 1.521 GB, free: 8.738 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002744/0.5912, allocations: 143.6 kB / 1.521 GB, free: 8.59 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.5929, allocations: 267 kB / 1.522 GB, free: 8.328 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.5949, allocations: 0.7331 MB / 1.522 GB, free: 7.566 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.595, allocations: 70 kB / 1.522 GB, free: 7.496 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.5952, allocations: 96 kB / 1.523 GB, free: 7.402 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.5971, allocations: 1.294 MB / 1.524 GB, free: 6.008 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.5972, allocations: 4 kB / 1.524 GB, free: 6.004 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.68e-05/0.5973, allocations: 39.94 kB / 1.524 GB, free: 5.965 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.835e-05/0.5973, allocations: 34 kB / 1.524 GB, free: 5.93 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.5987, allocations: 0.9054 MB / 1.525 GB, free: 5.023 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.00615/0.6049, allocations: 4.134 MB / 1.529 GB, free: 0.7578 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009125/0.6058, allocations: 0.5098 MB / 1.529 GB, free: 248 kB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/0.6062, allocations: 298.7 kB / 1.53 GB, free: 15.94 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004953/0.6067, allocations: 84.34 kB / 1.53 GB, free: 15.86 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.6068, allocations: 35 kB / 1.53 GB, free: 15.81 MB / 1.232 GB Notification: Performance of pre-optimization done (n=49): time 2.625e-06/0.6068, allocations: 0 / 1.53 GB, free: 15.81 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.001645/0.6084, allocations: 0.8108 MB / 1.53 GB, free: 15 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.6085, allocations: 55.84 kB / 1.531 GB, free: 14.93 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.6095, allocations: 0.7587 MB / 1.531 GB, free: 14.17 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.034e-05/0.6096, allocations: 41.7 kB / 1.531 GB, free: 14.12 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/0.6101, allocations: 0.5155 MB / 1.532 GB, free: 13.6 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.6102, allocations: 186.4 kB / 1.532 GB, free: 13.41 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.6105, allocations: 146.6 kB / 1.532 GB, free: 13.27 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.6107, allocations: 337.9 kB / 1.532 GB, free: 12.93 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.6111, allocations: 241.9 kB / 1.533 GB, free: 12.69 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009095/0.612, allocations: 0.8385 MB / 1.533 GB, free: 11.65 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.6131, allocations: 0.7995 MB / 1.534 GB, free: 10.74 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.6132, allocations: 4 kB / 1.534 GB, free: 10.74 MB / 1.232 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001473/0.6146, allocations: 0.8433 MB / 1.535 GB, free: 9.887 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.6147, allocations: 12 kB / 1.535 GB, free: 9.875 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.6147, allocations: 12.12 kB / 1.535 GB, free: 9.863 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.6147, allocations: 15.94 kB / 1.535 GB, free: 9.848 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005767/0.6153, allocations: 163.7 kB / 1.535 GB, free: 9.688 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.6153, allocations: 15.94 kB / 1.535 GB, free: 9.672 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008291/0.6161, allocations: 95.27 kB / 1.535 GB, free: 9.578 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.6162, allocations: 35.98 kB / 1.535 GB, free: 9.543 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.000541/0.6167, allocations: 325.5 kB / 1.536 GB, free: 9.215 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.6169, allocations: 91.44 kB / 1.536 GB, free: 9.125 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.618, allocations: 0.6257 MB / 1.536 GB, free: 8.496 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.618, allocations: 4 kB / 1.536 GB, free: 8.492 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.618, allocations: 0 / 1.536 GB, free: 8.492 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007424/0.6187, allocations: 0.5172 MB / 1.537 GB, free: 7.961 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.6216, allocations: 1.549 MB / 1.538 GB, free: 6.34 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6216, allocations: 4 kB / 1.538 GB, free: 6.336 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.6221, allocations: 111.9 kB / 1.539 GB, free: 6.227 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.6221, allocations: 7.984 kB / 1.539 GB, free: 6.219 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.6222, allocations: 16 kB / 1.539 GB, free: 6.203 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.6222, allocations: 4 kB / 1.539 GB, free: 6.199 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.6222, allocations: 4 kB / 1.539 GB, free: 6.195 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.6237, allocations: 1.019 MB / 1.54 GB, free: 5.137 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.6242, allocations: 151.3 kB / 1.54 GB, free: 4.988 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.6243, allocations: 16.03 kB / 1.54 GB, free: 4.973 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.6247, allocations: 19.98 kB / 1.54 GB, free: 4.953 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.6248, allocations: 35.88 kB / 1.54 GB, free: 4.918 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.6248, allocations: 20 kB / 1.54 GB, free: 4.898 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007333/0.6256, allocations: 0.5107 MB / 1.54 GB, free: 4.391 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6256, allocations: 0 / 1.54 GB, free: 4.391 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009582/0.6265, allocations: 307.3 kB / 1.541 GB, free: 4.09 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.002113/0.6286, allocations: 1.654 MB / 1.542 GB, free: 2.395 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.6298, allocations: 0.5833 MB / 1.543 GB, free: 1.809 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6298, allocations: 0 / 1.543 GB, free: 1.809 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.6302, allocations: 273.3 kB / 1.543 GB, free: 1.543 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.6321, allocations: 442.1 kB / 1.543 GB, free: 1.125 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.643, allocations: 7.238 MB / 1.551 GB, free: 9.496 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007894/0.6438, allocations: 0.5278 MB / 1.551 GB, free: 8.938 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001078/0.6448, allocations: 267.1 kB / 1.551 GB, free: 8.672 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006255/0.6455, allocations: 363.3 kB / 1.552 GB, free: 8.316 MB / 1.248 GB Notification: Performance of SimCode: time 1.132e-06/0.6455, allocations: 0 / 1.552 GB, free: 8.316 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0689/0.7144, allocations: 25.47 MB / 1.577 GB, free: 15.41 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.4, allocations: 3 kB / 1.577 GB, free: 15.41 MB / 1.279 GB " [Timeout remaining time 287] (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.763060715980828]