Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001428/0.001428, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.001453/0.001453, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.571/1.571, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.311/3.311, allocations: 0.505 GB / 0.8066 GB, free: 23.2 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_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.002063/0.002063, allocations: 71.27 kB / 1.172 GB, free: 17.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3825, allocations: 180.2 MB / 1.348 GB, free: 9.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00355/0.386, allocations: 1.798 MB / 1.349 GB, free: 8.168 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3875, allocations: 0.6357 MB / 1.35 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.3876, allocations: 3.938 kB / 1.35 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.3878, allocations: 31.73 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004935/0.3883, allocations: 119.4 kB / 1.35 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.3888, allocations: 161.7 kB / 1.35 GB, free: 7.223 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.3892, allocations: 247.3 kB / 1.351 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.3893, allocations: 29.91 kB / 1.351 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.3895, allocations: 107.7 kB / 1.351 GB, free: 6.848 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008407/0.3979, allocations: 1.064 MB / 1.352 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.218e-05/0.398, allocations: 20 kB / 1.352 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3981, allocations: 36 kB / 1.352 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/0.3982, allocations: 47.81 kB / 1.352 GB, free: 5.938 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.3983, allocations: 91.52 kB / 1.352 GB, free: 5.848 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.3988, allocations: 223 kB / 1.352 GB, free: 5.629 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3988, allocations: 4 kB / 1.352 GB, free: 5.625 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3988, allocations: 0 / 1.352 GB, free: 5.625 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3988, allocations: 4 kB / 1.352 GB, free: 5.621 MB / 1.045 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.000872/0.3997, allocations: 0.5603 MB / 1.353 GB, free: 5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3997, allocations: 11.98 kB / 1.353 GB, free: 4.988 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.15e-05/0.3998, allocations: 38.75 kB / 1.353 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.008e-05/0.3999, allocations: 28.78 kB / 1.353 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.4002, allocations: 252 kB / 1.353 GB, free: 4.629 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.4002, allocations: 12.38 kB / 1.353 GB, free: 4.617 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.4003, allocations: 23.88 kB / 1.353 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.4005, allocations: 114.2 kB / 1.353 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4005, allocations: 0 / 1.353 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.4005, allocations: 8 kB / 1.353 GB, free: 4.469 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4006, allocations: 4 kB / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.4007, allocations: 59.95 kB / 1.353 GB, free: 4.406 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009031/0.4016, allocations: 480.3 kB / 1.354 GB, free: 3.887 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.4019, allocations: 98.7 kB / 1.354 GB, free: 3.781 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.278e-05/0.4019, allocations: 28.89 kB / 1.354 GB, free: 3.75 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.402, allocations: 15.91 kB / 1.354 GB, free: 3.734 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.4021, allocations: 106.3 kB / 1.354 GB, free: 3.621 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.4021, allocations: 0 / 1.354 GB, free: 3.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0003587/0.4025, allocations: 177.4 kB / 1.354 GB, free: 3.441 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.4025, allocations: 63.33 kB / 1.354 GB, free: 3.367 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.4027, allocations: 196.8 kB / 1.354 GB, free: 3.164 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.4028, allocations: 33.7 kB / 1.354 GB, free: 3.125 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.4029, allocations: 124.5 kB / 1.355 GB, free: 3 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.4029, allocations: 47.56 kB / 1.355 GB, free: 2.953 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.403, allocations: 65.66 kB / 1.355 GB, free: 2.883 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4032, allocations: 330.8 kB / 1.355 GB, free: 2.551 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.4033, allocations: 63.95 kB / 1.355 GB, free: 2.488 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.4036, allocations: 124.9 kB / 1.355 GB, free: 2.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.4039, allocations: 220.5 kB / 1.355 GB, free: 2.094 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4039, allocations: 0 / 1.355 GB, free: 2.094 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006361/0.4045, allocations: 332.7 kB / 1.356 GB, free: 1.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.15e-05/0.4046, allocations: 67.33 kB / 1.356 GB, free: 1.672 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4046, allocations: 8.141 kB / 1.356 GB, free: 1.664 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4046, allocations: 4 kB / 1.356 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.4047, allocations: 19.94 kB / 1.356 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.4047, allocations: 4 kB / 1.356 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.4049, allocations: 19.94 kB / 1.356 GB, free: 1.617 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.4049, allocations: 15.98 kB / 1.356 GB, free: 1.602 MB / 1.045 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.0001516/0.4051, allocations: 147.9 kB / 1.356 GB, free: 1.445 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.4051, allocations: 23.83 kB / 1.356 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.4054, allocations: 147.5 kB / 1.356 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4054, allocations: 4 kB / 1.356 GB, free: 1.262 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.4054, allocations: 4 kB / 1.356 GB, free: 1.258 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4054, allocations: 0 / 1.356 GB, free: 1.258 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.406, allocations: 496.9 kB / 1.357 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.406, allocations: 0 / 1.357 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.4061, allocations: 4 kB / 1.357 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4061, allocations: 3.938 kB / 1.357 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.4061, allocations: 8 kB / 1.357 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4061, allocations: 4 kB / 1.357 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4061, allocations: 3.984 kB / 1.357 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.4064, allocations: 239.2 kB / 1.357 GB, free: 456 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.4065, allocations: 104.9 kB / 1.357 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.4065, allocations: 4 kB / 1.357 GB, free: 328 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4066, allocations: 7.984 kB / 1.357 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.4067, allocations: 15.98 kB / 1.357 GB, free: 304 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.4067, allocations: 15.98 kB / 1.357 GB, free: 288 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000132/0.4068, allocations: 148.5 kB / 1.357 GB, free: 140 kB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4068, allocations: 0 / 1.357 GB, free: 140 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003142/0.4071, allocations: 47.89 kB / 1.357 GB, free: 92 kB / 1.045 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.0008656/0.408, allocations: 0.8413 MB / 1.358 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004196/0.4084, allocations: 242.6 kB / 1.358 GB, free: 14.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4084, allocations: 0 / 1.358 GB, free: 14.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.643e-05/0.4085, allocations: 58.16 kB / 1.358 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.4089, allocations: 58.34 kB / 1.358 GB, free: 14.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.4119, allocations: 2.262 MB / 1.361 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.4122, allocations: 0.728 MB / 1.361 GB, free: 11.72 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.78e-05/0.4123, allocations: 25.94 kB / 1.361 GB, free: 11.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.4124, allocations: 63.41 kB / 1.361 GB, free: 11.63 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.4124, allocations: 0 / 1.361 GB, free: 11.63 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.4433, allocations: 5.512 MB / 1.367 GB, free: 6.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.501/8.944, allocations: 7.75 kB / 1.367 GB, free: 6.242 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv. Warning: Get data of variable timSer.y[1] from file Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv failed! Error: Could not read variable timSer.y[2] in file Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv. Warning: Get data of variable timSer.y[2] from file Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.095964496023953]