Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001889/0.001889, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00224/0.00224, allocations: 214.7 kB / 22.24 MB, free: 5.262 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.773 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 3.281/3.281, allocations: 0.4892 GB / 0.7943 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] 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.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_12_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.002103/0.002103, allocations: 69.62 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3251, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003539/0.3286, allocations: 1.769 MB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.33, allocations: 0.6158 MB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3302, allocations: 8.047 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.3303, allocations: 27.73 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.3308, allocations: 131.4 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.3312, allocations: 155.7 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.3315, allocations: 239.4 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.3316, allocations: 26.08 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.3318, allocations: 119.6 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008402/0.3402, allocations: 1.041 MB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-05/0.3402, allocations: 23.98 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3404, allocations: 35.98 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/0.3405, allocations: 43.78 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.3406, allocations: 79.62 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.341, allocations: 223.1 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.341, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.341, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.3411, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 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.0009212/0.342, allocations: 0.4966 MB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.342, allocations: 11.97 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.3421, allocations: 46.73 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.3422, allocations: 24.8 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.3425, allocations: 202.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3425, allocations: 8.375 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.3426, allocations: 23.92 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.3428, allocations: 110.6 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3428, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3429, allocations: 4 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3429, allocations: 4 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.343, allocations: 63.77 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009769/0.344, allocations: 419.6 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.3443, allocations: 102.6 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.3443, allocations: 28.89 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.3444, allocations: 11.98 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.3445, allocations: 103.4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3445, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003792/0.3449, allocations: 176.3 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.345, allocations: 59.39 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.3452, allocations: 203.8 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.3452, allocations: 33.7 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3453, allocations: 132.4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.3454, allocations: 39.67 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3455, allocations: 65.67 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3456, allocations: 330.8 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.3459, allocations: 123.3 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.3462, allocations: 244.6 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.3465, allocations: 212.3 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3465, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006763/0.3472, allocations: 396.1 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.538e-05/0.3472, allocations: 67.33 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3472, allocations: 4 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3473, allocations: 4 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.3474, allocations: 15.98 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3474, allocations: 4 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.3476, allocations: 31.77 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.3476, allocations: 19.98 kB / 1.333 GB, free: 10.03 MB / 1.029 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.0001435/0.3478, allocations: 138.3 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.3478, allocations: 23.78 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.3481, allocations: 163.3 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3481, allocations: 4 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3481, allocations: 0 / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3481, allocations: 0 / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.3487, allocations: 441.3 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3487, allocations: 0 / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.3488, allocations: 11.98 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3488, allocations: 0 / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3488, allocations: 4 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3488, allocations: 4 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3488, allocations: 4 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.3491, allocations: 243.2 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.3491, allocations: 31.81 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.3492, allocations: 0 / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3493, allocations: 15.98 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.3493, allocations: 11.98 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.3494, allocations: 11.98 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001422/0.3495, allocations: 145.5 kB / 1.334 GB, free: 8.723 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3495, allocations: 0 / 1.334 GB, free: 8.723 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003399/0.3498, allocations: 51.89 kB / 1.334 GB, free: 8.672 MB / 1.029 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.0009433/0.3508, allocations: 0.8473 MB / 1.335 GB, free: 7.824 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004834/0.3513, allocations: 301.9 kB / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3513, allocations: 0 / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.3514, allocations: 51.91 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.3518, allocations: 57.81 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.3551, allocations: 2.509 MB / 1.338 GB, free: 4.703 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3553, allocations: 124 kB / 1.338 GB, free: 4.559 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.3554, allocations: 25.94 kB / 1.338 GB, free: 4.531 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3555, allocations: 59.41 kB / 1.338 GB, free: 4.473 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3555, allocations: 0 / 1.338 GB, free: 4.473 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.3931, allocations: 6.383 MB / 1.344 GB, free: 14.3 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.28, allocations: 7.922 kB / 1.344 GB, free: 14.29 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv. Warning: Get data of variable timSer.y[1] from file Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv failed! Error: Could not read variable timSer.y[2] in file Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv. Warning: Get data of variable timSer.y[2] from file Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.33588118897751]