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.001345/0.001345, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00164/0.00164, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8.031 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.256/3.256, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.00213/0.00213, allocations: 67.34 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3741, allocations: 180.2 MB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003399/0.3775, allocations: 1.807 MB / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3789, allocations: 0.6436 MB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.3789, allocations: 0 / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.3791, allocations: 31.73 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.3796, allocations: 127.4 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.38, allocations: 166.8 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.3804, allocations: 239.4 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.3805, allocations: 37.95 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.3807, allocations: 111.7 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008184/0.3889, allocations: 1.041 MB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.913e-05/0.3889, allocations: 20 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.3891, allocations: 43.98 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.3891, allocations: 47.77 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.3893, allocations: 95.5 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.3897, allocations: 223.1 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3897, allocations: 3.938 kB / 1.357 GB, free: 4.129 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3897, allocations: 0 / 1.357 GB, free: 4.129 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3897, allocations: 0 / 1.357 GB, free: 4.129 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.0008534/0.3905, allocations: 488.7 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3906, allocations: 16.03 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.073e-05/0.3906, allocations: 38.75 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.3907, allocations: 28.78 kB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.391, allocations: 194.3 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3911, allocations: 12.38 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.3911, allocations: 19.92 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.3913, allocations: 105.5 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3913, allocations: 3.938 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3914, allocations: 4 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3914, allocations: 4 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.3915, allocations: 64.72 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009347/0.3924, allocations: 447.5 kB / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.3927, allocations: 106.6 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.383e-05/0.3928, allocations: 36.89 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.3928, allocations: 3.984 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.393, allocations: 99.36 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.393, allocations: 0 / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0003657/0.3933, allocations: 181.3 kB / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.3934, allocations: 63.39 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.3936, allocations: 199.9 kB / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.3937, allocations: 33.7 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3938, allocations: 128.4 kB / 1.36 GB, free: 1.711 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.3938, allocations: 43.67 kB / 1.36 GB, free: 1.668 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3939, allocations: 61.67 kB / 1.36 GB, free: 1.602 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3941, allocations: 326.8 kB / 1.36 GB, free: 1.273 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.3942, allocations: 63.95 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.3945, allocations: 137 kB / 1.36 GB, free: 1.051 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.3948, allocations: 212 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3948, allocations: 0 / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000609/0.3954, allocations: 332.7 kB / 1.361 GB, free: 480 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.3955, allocations: 71.33 kB / 1.361 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.3955, allocations: 7.969 kB / 1.361 GB, free: 388 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3955, allocations: 4 kB / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.3956, allocations: 20.16 kB / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3956, allocations: 4 kB / 1.361 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.3958, allocations: 23.81 kB / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.3958, allocations: 23.97 kB / 1.361 GB, free: 312 kB / 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.0001553/0.396, allocations: 139.8 kB / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.396, allocations: 19.84 kB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.3963, allocations: 154.4 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3963, allocations: 0 / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3963, allocations: 8 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3963, allocations: 0 / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.397, allocations: 457.3 kB / 1.362 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.397, allocations: 3.984 kB / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.397, allocations: 4 kB / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/0.397, allocations: 4 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3971, allocations: 0 / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3971, allocations: 0 / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3971, allocations: 4 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.3974, allocations: 255.2 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.3974, allocations: 23.89 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.3975, allocations: 4 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3976, allocations: 11.98 kB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.3976, allocations: 11.97 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.3977, allocations: 12 kB / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002076/0.3979, allocations: 145.5 kB / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3979, allocations: 4 kB / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00033/0.3982, allocations: 55.83 kB / 1.362 GB, free: 14.93 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.0009027/0.3991, allocations: 0.8331 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005/0.3996, allocations: 238.6 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3996, allocations: 4.312 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.844e-05/0.3997, allocations: 51.91 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.4001, allocations: 61.19 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.4033, allocations: 2.264 MB / 1.365 GB, free: 11.33 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.4037, allocations: 0.7319 MB / 1.366 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.856e-05/0.4038, allocations: 29.92 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.4039, allocations: 59.41 kB / 1.366 GB, free: 10.48 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.4039, allocations: 4 kB / 1.366 GB, free: 10.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03365/0.4375, allocations: 5.708 MB / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.66, allocations: 6.5 kB / 1.372 GB, free: 4.93 MB / 1.061 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: 18.66721533300006]