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.001385/0.001385, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001512/0.001512, allocations: 210 kB / 22.24 MB, free: 4.859 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.489/1.489, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.321/3.321, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.00212/0.00212, allocations: 73.7 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3545, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.004024/0.3585, allocations: 1.764 MB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.36, allocations: 0.613 MB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.3601, allocations: 7.938 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.3603, allocations: 31.67 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004539/0.3607, allocations: 127.4 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.3612, allocations: 159.7 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.3616, allocations: 243.4 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3617, allocations: 26.03 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.3619, allocations: 115.6 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008388/0.3703, allocations: 1.053 MB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.3704, allocations: 20 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3705, allocations: 40 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.3706, allocations: 39.83 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.3707, allocations: 75.58 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004761/0.3712, allocations: 223.1 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.3712, allocations: 4 kB / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3712, allocations: 0 / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.3712, allocations: 0 / 1.368 GB, free: 9.785 MB / 1.061 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.0009655/0.3722, allocations: 0.4928 MB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.3722, allocations: 8.031 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.627e-05/0.3723, allocations: 42.73 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.209e-05/0.3724, allocations: 24.8 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.3728, allocations: 198.1 kB / 1.369 GB, free: 8.949 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.3728, allocations: 8.375 kB / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.3728, allocations: 19.94 kB / 1.369 GB, free: 8.922 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.3731, allocations: 111.5 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3731, allocations: 0 / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3731, allocations: 4 kB / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3731, allocations: 11.94 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.3732, allocations: 59.95 kB / 1.369 GB, free: 8.734 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.3743, allocations: 411.5 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.3745, allocations: 106.6 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.3746, allocations: 32.89 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3746, allocations: 11.98 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.3748, allocations: 105.3 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.3748, allocations: 0 / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003825/0.3752, allocations: 177.3 kB / 1.37 GB, free: 7.836 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.3753, allocations: 59.39 kB / 1.37 GB, free: 7.766 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.3755, allocations: 203.8 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.3755, allocations: 33.7 kB / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.3756, allocations: 124.5 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.3757, allocations: 39.69 kB / 1.37 GB, free: 7.352 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3758, allocations: 61.67 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.376, allocations: 330.8 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.3762, allocations: 131.3 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.3765, allocations: 234.5 kB / 1.371 GB, free: 6.531 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.3769, allocations: 220.1 kB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3769, allocations: 0 / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006864/0.3776, allocations: 396.2 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.291e-05/0.3776, allocations: 71.33 kB / 1.371 GB, free: 5.785 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.3776, allocations: 4 kB / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3777, allocations: 4 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.3777, allocations: 19.92 kB / 1.371 GB, free: 5.758 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3778, allocations: 4 kB / 1.371 GB, free: 5.754 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.378, allocations: 27.88 kB / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.378, allocations: 15.98 kB / 1.371 GB, free: 5.711 MB / 1.061 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.0001457/0.3781, allocations: 141.1 kB / 1.372 GB, free: 5.566 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.3782, allocations: 23.94 kB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.3784, allocations: 157.2 kB / 1.372 GB, free: 5.379 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3784, allocations: 4 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3784, allocations: 3.938 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3784, allocations: 0 / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006286/0.3791, allocations: 441.3 kB / 1.372 GB, free: 4.891 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3791, allocations: 0 / 1.372 GB, free: 4.891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.3791, allocations: 15.98 kB / 1.372 GB, free: 4.875 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3791, allocations: 0 / 1.372 GB, free: 4.875 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.3791, allocations: 0 / 1.372 GB, free: 4.875 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3791, allocations: 8 kB / 1.372 GB, free: 4.867 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3791, allocations: 0 / 1.372 GB, free: 4.867 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.3794, allocations: 237 kB / 1.372 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.3795, allocations: 35.8 kB / 1.372 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.3795, allocations: 4 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.3796, allocations: 11.98 kB / 1.372 GB, free: 4.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.3797, allocations: 15.92 kB / 1.372 GB, free: 4.555 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.3797, allocations: 11.98 kB / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001447/0.3799, allocations: 148.2 kB / 1.373 GB, free: 4.398 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3799, allocations: 0 / 1.373 GB, free: 4.398 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003416/0.3802, allocations: 51.94 kB / 1.373 GB, free: 4.348 MB / 1.061 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.0008805/0.3811, allocations: 0.8416 MB / 1.373 GB, free: 3.504 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004755/0.3816, allocations: 302 kB / 1.374 GB, free: 3.172 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3816, allocations: 0 / 1.374 GB, free: 3.172 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3817, allocations: 51.91 kB / 1.374 GB, free: 3.121 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.3821, allocations: 68.45 kB / 1.374 GB, free: 3.062 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.3853, allocations: 2.502 MB / 1.376 GB, free: 392 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.3854, allocations: 116 kB / 1.376 GB, free: 252 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.561e-05/0.3855, allocations: 25.94 kB / 1.376 GB, free: 224 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.3856, allocations: 63.41 kB / 1.377 GB, free: 160 kB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.3856, allocations: 4 kB / 1.377 GB, free: 156 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.4202, allocations: 6.374 MB / 1.383 GB, free: 9.98 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.29, allocations: 7.453 kB / 1.383 GB, free: 9.977 MB / 1.076 GB " [Timeout remaining time 288] (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: 19.218012590892613]