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.001598/0.001598, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002101/0.002101, allocations: 219.3 kB / 22.26 MB, free: 5.125 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.008 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.209/3.209, allocations: 0.49 GB / 0.7951 GB, free: 33.52 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.002056/0.002056, allocations: 62.7 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.348, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003178/0.3511, allocations: 1.816 MB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3524, allocations: 0.6353 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.352e-05/0.3525, allocations: 3.938 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.3527, allocations: 31.73 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.3531, allocations: 127.4 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.3534, allocations: 162.5 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.3538, allocations: 243.4 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3539, allocations: 33.94 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.354, allocations: 111.7 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008152/0.3622, allocations: 1.048 MB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.98e-05/0.3623, allocations: 20 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.3624, allocations: 39.97 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.3625, allocations: 39.84 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.3626, allocations: 95.5 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.363, allocations: 231.1 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.363, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.363, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.363, allocations: 0 / 1.33 GB, free: 13.61 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.0008307/0.3639, allocations: 0.4889 MB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.3639, allocations: 12.03 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.364, allocations: 42.73 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/0.3641, allocations: 32.67 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.3644, allocations: 191 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.3644, allocations: 12.38 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.3645, allocations: 19.92 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.3647, allocations: 109.6 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3647, allocations: 4 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3647, allocations: 4 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3647, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.3648, allocations: 59.83 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008933/0.3657, allocations: 459.4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.366, allocations: 98.73 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.855e-05/0.3661, allocations: 36.84 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3661, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.3663, allocations: 103.3 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.3663, allocations: 7.938 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003618/0.3666, allocations: 176.5 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.3667, allocations: 55.41 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.3669, allocations: 207.8 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.367, allocations: 33.7 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3671, allocations: 128.4 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.3671, allocations: 43.67 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3672, allocations: 61.67 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3673, allocations: 330.8 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.3675, allocations: 63.95 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.3677, allocations: 134 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.368, allocations: 212.3 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.368, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006026/0.3686, allocations: 332.7 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.3687, allocations: 71.48 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3687, allocations: 4 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3687, allocations: 7.938 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.3688, allocations: 19.94 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3688, allocations: 7.984 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.369, allocations: 15.89 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.369, allocations: 19.98 kB / 1.334 GB, free: 9.773 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.000148/0.3692, allocations: 144.3 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.3692, allocations: 23.8 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.3695, allocations: 151.4 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3695, allocations: 0 / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3695, allocations: 4 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3695, allocations: 0 / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006447/0.3701, allocations: 461.3 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3701, allocations: 0 / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.3702, allocations: 4 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3702, allocations: 4 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3702, allocations: 4 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3702, allocations: 0 / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.3702, allocations: 3.984 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.3705, allocations: 247.2 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.3705, allocations: 23.89 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.3706, allocations: 8 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3707, allocations: 7.984 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.3708, allocations: 19.97 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.3708, allocations: 8 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001407/0.3709, allocations: 145.5 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3709, allocations: 3.938 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003233/0.3712, allocations: 51.92 kB / 1.335 GB, free: 8.402 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.0008607/0.3721, allocations: 0.8389 MB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.3725, allocations: 257.7 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3726, allocations: 3.938 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.3726, allocations: 39.98 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.3731, allocations: 59.77 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.376, allocations: 2.271 MB / 1.338 GB, free: 4.789 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.3764, allocations: 0.728 MB / 1.339 GB, free: 4.031 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000102/0.3765, allocations: 29.92 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.3766, allocations: 55.42 kB / 1.339 GB, free: 3.945 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3766, allocations: 0 / 1.339 GB, free: 3.945 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.4109, allocations: 5.717 MB / 1.345 GB, free: 14.4 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.45, allocations: 13.12 kB / 1.345 GB, free: 14.39 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: 18.27615116599918]