Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.367/2.367, allocations: 443.5 MB / 0.7304 GB, free: 14.08 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.89 kB / 1.059 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.275, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7002/0.9752, allocations: 196.2 MB / 1.407 GB, free: 4.301 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01751/0.9927, allocations: 14.48 MB / 1.421 GB, free: 8.625 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.9938, allocations: 39.44 kB / 1.421 GB, free: 8.609 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.9953, allocations: 0.514 MB / 1.422 GB, free: 8.18 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004502/0.9998, allocations: 1.96 MB / 1.424 GB, free: 6.688 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/1.002, allocations: 0.8833 MB / 1.425 GB, free: 6.016 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002875/1.005, allocations: 2.591 MB / 1.427 GB, free: 4.527 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/1.006, allocations: 0.7879 MB / 1.428 GB, free: 3.977 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003712/1.01, allocations: 1.655 MB / 1.43 GB, free: 2.984 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/1.011, allocations: 0.9949 MB / 1.43 GB, free: 2.391 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/1.011, allocations: 106.7 kB / 1.431 GB, free: 2.391 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/1.014, allocations: 1.166 MB / 1.432 GB, free: 1.766 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005996/1.014, allocations: 0.5143 MB / 1.432 GB, free: 1.418 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009665/1.015, allocations: 0.6302 MB / 1.433 GB, free: 1.016 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00257/1.018, allocations: 1.923 MB / 1.435 GB, free: 15.75 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.018, allocations: 4 kB / 1.435 GB, free: 15.75 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.122e-06/1.018, allocations: 0 / 1.435 GB, free: 15.75 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.695e-05/1.018, allocations: 4 kB / 1.435 GB, free: 15.74 MB / 1.107 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.002514/1.02, allocations: 1.475 MB / 1.436 GB, free: 14.21 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/1.02, allocations: 8.031 kB / 1.436 GB, free: 14.21 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/1.02, allocations: 147.6 kB / 1.436 GB, free: 14.05 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/1.022, allocations: 259 kB / 1.437 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/1.023, allocations: 0.8005 MB / 1.437 GB, free: 12.96 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/1.023, allocations: 70 kB / 1.437 GB, free: 12.89 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/1.023, allocations: 92 kB / 1.438 GB, free: 12.8 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/1.025, allocations: 1.177 MB / 1.439 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/1.025, allocations: 3.938 kB / 1.439 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/1.025, allocations: 39.94 kB / 1.439 GB, free: 11.51 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/1.025, allocations: 34 kB / 1.439 GB, free: 11.48 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/1.027, allocations: 0.9054 MB / 1.44 GB, free: 10.57 MB / 1.107 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.005802/1.033, allocations: 5.749 MB / 1.445 GB, free: 4.367 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008272/1.033, allocations: 0.507 MB / 1.446 GB, free: 3.855 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/1.034, allocations: 306.6 kB / 1.446 GB, free: 3.555 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005791/1.034, allocations: 311.7 kB / 1.446 GB, free: 3.195 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/1.034, allocations: 39 kB / 1.446 GB, free: 3.148 MB / 1.107 GB Notification: Performance of pre-optimization done (n=49): time 1.723e-06/1.034, allocations: 0 / 1.446 GB, free: 3.148 MB / 1.107 GB Notification: Performance of matching and sorting (n=49): time 0.001475/1.036, allocations: 0.8108 MB / 1.447 GB, free: 2.328 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/1.036, allocations: 55.84 kB / 1.447 GB, free: 2.262 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009207/1.037, allocations: 0.751 MB / 1.448 GB, free: 1.5 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/1.037, allocations: 37.7 kB / 1.448 GB, free: 1.457 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/1.037, allocations: 0.5155 MB / 1.448 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/1.038, allocations: 186.4 kB / 1.449 GB, free: 0.75 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/1.038, allocations: 146.6 kB / 1.449 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.038, allocations: 341.9 kB / 1.449 GB, free: 268 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/1.038, allocations: 245.9 kB / 1.449 GB, free: 24 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006703/1.039, allocations: 0.5504 MB / 1.45 GB, free: 15.34 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/1.04, allocations: 0.8073 MB / 1.451 GB, free: 14.43 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.04, allocations: 8 kB / 1.451 GB, free: 14.42 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001267/1.041, allocations: 0.8428 MB / 1.452 GB, free: 13.57 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.041, allocations: 8 kB / 1.452 GB, free: 13.56 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.041, allocations: 11.94 kB / 1.452 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/1.041, allocations: 12 kB / 1.452 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/1.042, allocations: 152.4 kB / 1.452 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/1.042, allocations: 19.92 kB / 1.452 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/1.043, allocations: 95.34 kB / 1.452 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/1.043, allocations: 40.48 kB / 1.452 GB, free: 13.23 MB / 1.123 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.0003989/1.043, allocations: 333.4 kB / 1.452 GB, free: 12.9 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/1.043, allocations: 91.44 kB / 1.452 GB, free: 12.81 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009805/1.044, allocations: 0.6102 MB / 1.453 GB, free: 12.19 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.044, allocations: 8 kB / 1.453 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.044, allocations: 0 / 1.453 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007173/1.045, allocations: 0.5211 MB / 1.453 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/1.047, allocations: 1.667 MB / 1.455 GB, free: 9.898 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.047, allocations: 3.938 kB / 1.455 GB, free: 9.895 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/1.048, allocations: 115.8 kB / 1.455 GB, free: 9.781 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/1.048, allocations: 4 kB / 1.455 GB, free: 9.777 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/1.048, allocations: 16 kB / 1.455 GB, free: 9.762 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.048, allocations: 0 / 1.455 GB, free: 9.762 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.048, allocations: 4 kB / 1.455 GB, free: 9.758 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/1.049, allocations: 1.019 MB / 1.456 GB, free: 8.699 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/1.049, allocations: 232.4 kB / 1.456 GB, free: 8.453 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-05/1.05, allocations: 16 kB / 1.456 GB, free: 8.438 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/1.05, allocations: 18.86 kB / 1.456 GB, free: 8.422 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/1.05, allocations: 39.89 kB / 1.456 GB, free: 8.383 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/1.05, allocations: 16 kB / 1.456 GB, free: 8.367 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000618/1.051, allocations: 0.5146 MB / 1.457 GB, free: 7.859 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.051, allocations: 0 / 1.457 GB, free: 7.859 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007899/1.052, allocations: 299.4 kB / 1.457 GB, free: 7.566 MB / 1.123 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.001953/1.053, allocations: 1.69 MB / 1.459 GB, free: 5.855 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009237/1.054, allocations: 0.5887 MB / 1.459 GB, free: 5.266 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.054, allocations: 4.062 kB / 1.459 GB, free: 5.262 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/1.055, allocations: 251.7 kB / 1.46 GB, free: 5.016 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/1.057, allocations: 438.3 kB / 1.46 GB, free: 4.594 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009423/1.066, allocations: 7.248 MB / 1.467 GB, free: 12.96 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007996/1.067, allocations: 1.125 MB / 1.468 GB, free: 11.81 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006929/1.067, allocations: 259.1 kB / 1.469 GB, free: 11.55 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/1.068, allocations: 359.3 kB / 1.469 GB, free: 11.2 MB / 1.139 GB Notification: Performance of SimCode: time 6.62e-07/1.068, allocations: 8 kB / 1.469 GB, free: 11.2 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05502/1.123, allocations: 23.25 MB / 1.492 GB, free: 4.312 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/9.671, allocations: 11.94 kB / 1.492 GB, free: 4.305 MB / 1.154 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraSou.V from file Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable vol.C[1] in file Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable vol.C[1] from file Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSub.C in file Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSub.C from file Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSubNoFlorRev.C in file Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSubNoFlorRev.C from file Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senPPM.ppm in file Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senPPM.ppm from file Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable masFraVol.V in file Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraVol.V from file Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.898141045996454]