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.001201/0.001201, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001904/0.003105, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001317/0.001317, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001809/0.003126, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9922/0.9922, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09591/1.088, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.439/2.439, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2487/2.687, allocations: 145.9 MB / 0.817 GB, free: 4.234 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.[0-9,]+.|timSer1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.[0-9,]+.|timSer1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8183 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.088e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003532/0.003553, allocations: 1.872 MB / 0.8201 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.004621, allocations: 0.6464 MB / 0.8207 GB, free: 420 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.004694, allocations: 4 kB / 0.8207 GB, free: 416 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.004806, allocations: 27.72 kB / 0.8208 GB, free: 388 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.005087, allocations: 123.3 kB / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.005446, allocations: 167.5 kB / 0.821 GB, free: 96 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.005742, allocations: 235.4 kB / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.00585, allocations: 26.44 kB / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/0.01597, allocations: 3.235 MB / 0.8244 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.0162, allocations: 95.73 kB / 0.8245 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.01625, allocations: 12 kB / 0.8245 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.01637, allocations: 35.94 kB / 0.8246 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.01643, allocations: 39.86 kB / 0.8246 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.597e-05/0.01652, allocations: 43.86 kB / 0.8247 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.01686, allocations: 155.4 kB / 0.8248 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.692e-05/0.01687, allocations: 0 / 0.8248 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.854e-06/0.01687, allocations: 0 / 0.8248 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.937e-05/0.01689, allocations: 0 / 0.8248 GB, free: 13.52 MB / 0.8073 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.0007964/0.01769, allocations: 0.4911 MB / 0.8253 GB, free: 13 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.01773, allocations: 8.625 kB / 0.8253 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/0.01779, allocations: 24.92 kB / 0.8253 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.01806, allocations: 189.3 kB / 0.8255 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.01809, allocations: 16.36 kB / 0.8255 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.01812, allocations: 16.38 kB / 0.8255 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.01826, allocations: 74.2 kB / 0.8256 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.01828, allocations: 3.938 kB / 0.8256 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.01829, allocations: 8 kB / 0.8256 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.0183, allocations: 0 / 0.8256 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.421e-05/0.01836, allocations: 31.83 kB / 0.8256 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.01899, allocations: 282.7 kB / 0.8259 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.01918, allocations: 74.45 kB / 0.826 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.01921, allocations: 28.78 kB / 0.826 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.01923, allocations: 4 kB / 0.826 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.01936, allocations: 86.67 kB / 0.8261 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.01936, allocations: 0 / 0.8261 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001814/0.01954, allocations: 105.6 kB / 0.8262 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.01958, allocations: 63.34 kB / 0.8263 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.01972, allocations: 187.4 kB / 0.8264 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.01974, allocations: 33.7 kB / 0.8265 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.01981, allocations: 116.5 kB / 0.8266 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.01984, allocations: 39.67 kB / 0.8266 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.01992, allocations: 61.84 kB / 0.8267 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.02002, allocations: 330.7 kB / 0.827 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.02013, allocations: 111.9 kB / 0.8271 GB, free: 11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.02028, allocations: 202.5 kB / 0.8273 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.02044, allocations: 184 kB / 0.8275 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.02044, allocations: 0 / 0.8275 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002628/0.0207, allocations: 275.5 kB / 0.8277 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.02076, allocations: 67.38 kB / 0.8278 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.02076, allocations: 4 kB / 0.8278 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.02078, allocations: 4.156 kB / 0.8278 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/0.02087, allocations: 35.92 kB / 0.8278 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.02088, allocations: 4 kB / 0.8278 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.02098, allocations: 23.89 kB / 0.8279 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.021, allocations: 7.984 kB / 0.8279 GB, free: 10.08 MB / 0.8073 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 9.352e-05/0.02109, allocations: 142.5 kB / 0.828 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.02111, allocations: 11.98 kB / 0.828 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.02125, allocations: 103.3 kB / 0.8281 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.02125, allocations: 0 / 0.8281 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.02125, allocations: 4 kB / 0.8281 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.02126, allocations: 4 kB / 0.8281 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.02158, allocations: 302.5 kB / 0.8284 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02158, allocations: 0 / 0.8284 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.92e-05/0.02161, allocations: 11.94 kB / 0.8284 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.02164, allocations: 23.89 kB / 0.8284 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.02165, allocations: 3.984 kB / 0.8285 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.02165, allocations: 4 kB / 0.8285 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.02166, allocations: 3.938 kB / 0.8285 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.02166, allocations: 4 kB / 0.8285 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.02179, allocations: 186.2 kB / 0.8286 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.0218, allocations: 8 kB / 0.8286 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.02188, allocations: 7.984 kB / 0.8287 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.02193, allocations: 19.91 kB / 0.8287 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.02194, allocations: 4 kB / 0.8287 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.57e-05/0.022, allocations: 55.09 kB / 0.8287 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.022, allocations: 0 / 0.8287 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000277/0.02228, allocations: 43.98 kB / 0.8288 GB, free: 9.098 MB / 0.8073 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.0003871/0.02266, allocations: 168.2 kB / 0.8289 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.02294, allocations: 278.8 kB / 0.8292 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.02295, allocations: 0 / 0.8292 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.992e-05/0.02301, allocations: 44.77 kB / 0.8292 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.02332, allocations: 70.61 kB / 0.8293 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.02403, allocations: 312.2 kB / 0.8296 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.423e-05/0.02408, allocations: 75.84 kB / 0.8297 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.018e-05/0.02415, allocations: 26.2 kB / 0.8297 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.02432, allocations: 113.3 kB / 0.8298 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of SimCode: time 7.92e-07/0.02432, allocations: 0 / 0.8298 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of Templates: time 0.007402/0.03173, allocations: 3.875 MB / 0.8336 GB, free: 4.16 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.425971361808479]