Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.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.001587/0.001587, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002144/0.002144, allocations: 218.1 kB / 22.26 MB, free: 5.125 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.957 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.904/2.904, allocations: 476.8 MB / 0.7707 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 176] 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.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries",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.001992/0.001992, allocations: 67.52 kB / 1.117 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4046, allocations: 170 MB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003723/0.4084, allocations: 1.813 MB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.4098, allocations: 0.6314 MB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.674e-05/0.4099, allocations: 3.938 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.4101, allocations: 27.73 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.4105, allocations: 131.4 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.4109, allocations: 159.6 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.4113, allocations: 243.4 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.4115, allocations: 29.33 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.4117, allocations: 119.6 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008223/0.4199, allocations: 1.045 MB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.455e-05/0.42, allocations: 24 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.4201, allocations: 36 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.013e-05/0.4202, allocations: 43.83 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.4203, allocations: 91.45 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.4208, allocations: 231.1 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4208, allocations: 0 / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4208, allocations: 0 / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.4208, allocations: 0 / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009009/0.4217, allocations: 0.4927 MB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4218, allocations: 12.03 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.4218, allocations: 42.73 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.573e-05/0.4219, allocations: 24.8 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.4223, allocations: 194.3 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.4223, allocations: 12.38 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.4223, allocations: 15.94 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.4226, allocations: 108.5 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4226, allocations: 0 / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.4226, allocations: 8 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4226, allocations: 4 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.4227, allocations: 59.95 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009275/0.4236, allocations: 447.4 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.4239, allocations: 114.6 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/0.424, allocations: 44.84 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.424, allocations: 0 / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.4242, allocations: 99.36 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.4242, allocations: 0 / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004096/0.4246, allocations: 183.5 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.4247, allocations: 55.41 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.4249, allocations: 207.8 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.425, allocations: 33.7 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.4251, allocations: 128.4 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.4251, allocations: 43.67 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.4253, allocations: 61.67 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4254, allocations: 330.8 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.4257, allocations: 67.95 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.426, allocations: 127.7 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/0.4265, allocations: 213.7 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.4265, allocations: 3.984 kB / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006524/0.4272, allocations: 326.3 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.82e-05/0.4273, allocations: 70.45 kB / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4273, allocations: 8.156 kB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4273, allocations: 4 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.836e-05/0.4274, allocations: 23.92 kB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.4274, allocations: 4 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.4276, allocations: 19.88 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.4276, allocations: 16 kB / 1.291 GB, free: 3.379 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001871/0.4278, allocations: 143.8 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.4278, allocations: 23.8 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.4281, allocations: 151.3 kB / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4281, allocations: 0 / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.4281, allocations: 4 kB / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.4281, allocations: 3.984 kB / 1.292 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00078/0.4289, allocations: 457.3 kB / 1.292 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.4289, allocations: 3.938 kB / 1.292 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.429, allocations: 4 kB / 1.292 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.429, allocations: 4 kB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.429, allocations: 3.984 kB / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.429, allocations: 4 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.429, allocations: 0 / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.4293, allocations: 245.2 kB / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.4293, allocations: 27.83 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.4293, allocations: 4 kB / 1.292 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4294, allocations: 7.984 kB / 1.292 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.337e-05/0.4295, allocations: 19.91 kB / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.4296, allocations: 16 kB / 1.292 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001555/0.4297, allocations: 145.5 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4297, allocations: 0 / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003315/0.4301, allocations: 51.92 kB / 1.293 GB, free: 2.004 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001142/0.4312, allocations: 0.8397 MB / 1.293 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005361/0.4317, allocations: 254.6 kB / 1.294 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4317, allocations: 0 / 1.294 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.891e-05/0.4318, allocations: 43.92 kB / 1.294 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.4323, allocations: 57.95 kB / 1.294 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.4359, allocations: 2.26 MB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.4363, allocations: 0.7242 MB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.4365, allocations: 29.94 kB / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.4366, allocations: 59.41 kB / 1.297 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.4366, allocations: 0 / 1.297 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.474, allocations: 5.73 MB / 1.302 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.46, allocations: 2.312 kB / 1.302 GB, free: 8.016 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable timSer.y[1] in file Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv. Warning: Get data of variable timSer.y[1] from file Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv failed! Error: Could not read variable timSer.y[2] in file Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv. Warning: Get data of variable timSer.y[2] from file Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.731090581999524]