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.001787/0.001787, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.001636/0.001636, allocations: 219.3 kB / 22.25 MB, free: 5.094 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.816 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.284/3.284, allocations: 0.49 GB / 0.7951 GB, free: 35.43 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.003338/0.003338, allocations: 74.73 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3782, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003425/0.3816, allocations: 1.777 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.383, allocations: 0.612 MB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.702e-05/0.3831, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.3833, allocations: 43.58 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.3837, allocations: 119.5 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.3841, allocations: 156.9 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.3845, allocations: 251.4 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.3846, allocations: 33.95 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.3848, allocations: 107.7 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008261/0.393, allocations: 1.06 MB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.62e-05/0.3931, allocations: 16 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3932, allocations: 32 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.3933, allocations: 43.84 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.3934, allocations: 79.61 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.3938, allocations: 227.1 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3938, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3938, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.3938, allocations: 0 / 1.33 GB, free: 13.22 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.0008726/0.3947, allocations: 0.4966 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3947, allocations: 8.031 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.158e-05/0.3948, allocations: 46.73 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.85e-05/0.3949, allocations: 24.8 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.3952, allocations: 190.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.3952, allocations: 16.38 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.3953, allocations: 19.94 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.3955, allocations: 112.2 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3955, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3955, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3955, allocations: 7.984 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3957, allocations: 55.83 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008868/0.3965, allocations: 427.5 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.3968, allocations: 98.73 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.3969, allocations: 32.84 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3969, allocations: 7.938 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.3971, allocations: 99.36 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3971, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003641/0.3974, allocations: 176.1 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3975, allocations: 59.39 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.3977, allocations: 207.8 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.3977, allocations: 37.64 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3978, allocations: 136.4 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.3979, allocations: 39.62 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.398, allocations: 65.67 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3981, allocations: 326.8 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.3983, allocations: 119.3 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.3986, allocations: 242.5 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.399, allocations: 223.6 kB / 1.333 GB, free: 9.707 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.399, allocations: 0 / 1.333 GB, free: 9.707 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006717/0.3996, allocations: 392.1 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.3997, allocations: 67.33 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3997, allocations: 4 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3997, allocations: 3.984 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.926e-05/0.3998, allocations: 19.94 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.3998, allocations: 4.156 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.4, allocations: 27.88 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.4, allocations: 15.98 kB / 1.334 GB, free: 9.141 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.0001521/0.4002, allocations: 137.8 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.4002, allocations: 31.78 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.4005, allocations: 147.4 kB / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.4005, allocations: 4 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4005, allocations: 0 / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.4005, allocations: 4 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.4012, allocations: 449.3 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4012, allocations: 0 / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.4012, allocations: 8 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4012, allocations: 3.938 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4012, allocations: 0 / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4012, allocations: 0 / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4012, allocations: 4 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.4015, allocations: 245.5 kB / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.4015, allocations: 27.83 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.4016, allocations: 0 / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.4017, allocations: 15.98 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.4017, allocations: 19.97 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.4018, allocations: 8 kB / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001411/0.4019, allocations: 145.5 kB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4019, allocations: 0 / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003287/0.4022, allocations: 51.88 kB / 1.335 GB, free: 7.785 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.0008606/0.4031, allocations: 0.8433 MB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.4036, allocations: 312.7 kB / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4036, allocations: 320 / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.329e-05/0.4037, allocations: 51.91 kB / 1.336 GB, free: 6.555 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.4041, allocations: 63.59 kB / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.4073, allocations: 2.494 MB / 1.339 GB, free: 3.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.4074, allocations: 127.9 kB / 1.339 GB, free: 3.672 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.687e-05/0.4075, allocations: 34 kB / 1.339 GB, free: 3.637 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.836e-05/0.4076, allocations: 59.41 kB / 1.339 GB, free: 3.578 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4076, allocations: 0 / 1.339 GB, free: 3.578 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.4417, allocations: 6.404 MB / 1.345 GB, free: 13.39 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.16, allocations: 4.062 kB / 1.345 GB, free: 13.38 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.120287639001617]