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.00173/0.00173, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002141/0.002141, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.586/1.586, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.94/2.94, allocations: 476.7 MB / 0.7672 GB, free: 5.207 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.002106/0.002106, allocations: 71.89 kB / 1.112 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9135/0.9156, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003556/0.9192, allocations: 1.811 MB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.9204, allocations: 0.6214 MB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.333e-05/0.9205, allocations: 7.938 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.9207, allocations: 27.72 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.9211, allocations: 123.3 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.9214, allocations: 167.3 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00032/0.9218, allocations: 239.4 kB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.9219, allocations: 31.5 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.922, allocations: 111.7 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008004/0.93, allocations: 1.049 MB / 1.282 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/0.9301, allocations: 20 kB / 1.282 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.9302, allocations: 40 kB / 1.282 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.9303, allocations: 47.81 kB / 1.282 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.9304, allocations: 91.45 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.9308, allocations: 223.1 kB / 1.283 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9308, allocations: 0 / 1.283 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9308, allocations: 0 / 1.283 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.9308, allocations: 0 / 1.283 GB, free: 9.062 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.0008973/0.9317, allocations: 0.5564 MB / 1.283 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.9318, allocations: 16.02 kB / 1.283 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.973e-05/0.9318, allocations: 42.75 kB / 1.283 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.433e-05/0.9319, allocations: 20.84 kB / 1.283 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.9323, allocations: 261.4 kB / 1.284 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.9323, allocations: 12.31 kB / 1.284 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.9323, allocations: 15.94 kB / 1.284 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.9325, allocations: 112.1 kB / 1.284 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.9325, allocations: 0 / 1.284 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.9326, allocations: 4 kB / 1.284 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.9326, allocations: 8 kB / 1.284 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.9327, allocations: 63.94 kB / 1.284 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009707/0.9337, allocations: 484.3 kB / 1.284 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.934, allocations: 106.6 kB / 1.284 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.831e-05/0.934, allocations: 32.89 kB / 1.284 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.934, allocations: 4 kB / 1.284 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.9342, allocations: 103.3 kB / 1.284 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.9342, allocations: 0 / 1.284 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003853/0.9346, allocations: 179.6 kB / 1.285 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.9347, allocations: 59.41 kB / 1.285 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.9349, allocations: 211.7 kB / 1.285 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.9349, allocations: 33.7 kB / 1.285 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.9351, allocations: 132.3 kB / 1.285 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.9351, allocations: 35.73 kB / 1.285 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.9352, allocations: 65.62 kB / 1.285 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.9354, allocations: 326.8 kB / 1.285 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.9356, allocations: 63.95 kB / 1.286 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.9358, allocations: 131.7 kB / 1.286 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.9362, allocations: 220.8 kB / 1.286 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.9362, allocations: 0 / 1.286 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006732/0.9369, allocations: 324.7 kB / 1.286 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.49e-05/0.9369, allocations: 71.33 kB / 1.286 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9369, allocations: 0 / 1.286 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.937, allocations: 4 kB / 1.286 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.229e-05/0.9371, allocations: 24.08 kB / 1.286 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.9371, allocations: 4 kB / 1.286 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.9373, allocations: 27.88 kB / 1.286 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.9373, allocations: 19.92 kB / 1.286 GB, free: 5.02 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.0001656/0.9375, allocations: 136 kB / 1.286 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.9375, allocations: 27.78 kB / 1.286 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.9378, allocations: 151.4 kB / 1.287 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.9378, allocations: 4 kB / 1.287 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9378, allocations: 4 kB / 1.287 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.9378, allocations: 0 / 1.287 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007043/0.9385, allocations: 489.6 kB / 1.287 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.9385, allocations: 0 / 1.287 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.505e-05/0.9386, allocations: 12.05 kB / 1.287 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.9386, allocations: 3.984 kB / 1.287 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.9386, allocations: 0 / 1.287 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9386, allocations: 0 / 1.287 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.9386, allocations: 4 kB / 1.287 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.9389, allocations: 247.2 kB / 1.287 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.939, allocations: 101 kB / 1.287 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.939, allocations: 8 kB / 1.287 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.9391, allocations: 11.92 kB / 1.287 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.9392, allocations: 15.98 kB / 1.287 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.9392, allocations: 7.984 kB / 1.287 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001517/0.9394, allocations: 153.5 kB / 1.288 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9394, allocations: 0 / 1.288 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003349/0.9397, allocations: 43.94 kB / 1.288 GB, free: 3.523 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.0009945/0.9407, allocations: 0.8447 MB / 1.289 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000443/0.9412, allocations: 242.7 kB / 1.289 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.9412, allocations: 4.312 kB / 1.289 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.103e-05/0.9413, allocations: 43.92 kB / 1.289 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.9417, allocations: 68.77 kB / 1.289 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.9449, allocations: 2.257 MB / 1.291 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.9453, allocations: 0.732 MB / 1.292 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.007e-05/0.9454, allocations: 29.88 kB / 1.292 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.9455, allocations: 55.41 kB / 1.292 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.9455, allocations: 0 / 1.292 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.9788, allocations: 5.521 MB / 1.297 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/9.207, allocations: 9.859 kB / 1.297 GB, free: 9.68 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.764038532972336]