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.001641/0.001641, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001846/0.001846, allocations: 221.6 kB / 23 MB, free: 4.914 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.779/2.779, allocations: 476 MB / 0.7707 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries") [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.002156/0.002156, allocations: 67.98 kB / 1.118 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3042, allocations: 170 MB / 1.284 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003599/0.3077, allocations: 1.764 MB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3092, allocations: 0.6158 MB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.3093, allocations: 7.938 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.3095, allocations: 23.73 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.31, allocations: 131.4 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.3104, allocations: 155.7 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000389/0.3108, allocations: 247.3 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.311, allocations: 25.73 kB / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.3111, allocations: 111.7 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00813/0.3193, allocations: 1.05 MB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.608e-05/0.3194, allocations: 20 kB / 1.288 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.3195, allocations: 39.98 kB / 1.288 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.218e-05/0.3196, allocations: 43.83 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.3197, allocations: 83.52 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.3201, allocations: 219.2 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3201, allocations: 0 / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3201, allocations: 3.938 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3201, allocations: 4 kB / 1.288 GB, free: 7.73 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.000837/0.3209, allocations: 0.4927 MB / 1.289 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.321, allocations: 11.97 kB / 1.289 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.321, allocations: 20.84 kB / 1.289 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.3214, allocations: 198.3 kB / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.3214, allocations: 12.38 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.3214, allocations: 20.12 kB / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.3217, allocations: 105.5 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3217, allocations: 0 / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3217, allocations: 0 / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3217, allocations: 8 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.3218, allocations: 55.97 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008782/0.3227, allocations: 392.1 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.323, allocations: 106.7 kB / 1.29 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.46e-05/0.3231, allocations: 32.84 kB / 1.29 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3231, allocations: 4 kB / 1.29 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.3232, allocations: 107.4 kB / 1.29 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.3232, allocations: 0 / 1.29 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003685/0.3236, allocations: 178.9 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.3237, allocations: 55.41 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.3239, allocations: 207.7 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.3239, allocations: 33.7 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.324, allocations: 132.4 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.3241, allocations: 31.73 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3242, allocations: 73.61 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3243, allocations: 326.8 kB / 1.291 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.3245, allocations: 131.3 kB / 1.291 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.3248, allocations: 240.5 kB / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.3251, allocations: 215.6 kB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3252, allocations: 0 / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006551/0.3258, allocations: 388.2 kB / 1.292 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.676e-05/0.3259, allocations: 70.05 kB / 1.292 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3259, allocations: 3.984 kB / 1.292 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3259, allocations: 7.938 kB / 1.292 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.701e-05/0.326, allocations: 19.94 kB / 1.292 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.326, allocations: 4 kB / 1.292 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.3262, allocations: 23.88 kB / 1.292 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.3262, allocations: 16.03 kB / 1.292 GB, free: 3.754 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.0001541/0.3264, allocations: 147.8 kB / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.3264, allocations: 23.92 kB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.3267, allocations: 143.4 kB / 1.292 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3267, allocations: 11.88 kB / 1.292 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3267, allocations: 0 / 1.292 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3267, allocations: 3.938 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.3273, allocations: 412.6 kB / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3273, allocations: 3.938 kB / 1.292 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.3273, allocations: 11.94 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3273, allocations: 0 / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3273, allocations: 7.984 kB / 1.292 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3273, allocations: 8 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3273, allocations: 0 / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.3276, allocations: 231.4 kB / 1.293 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.3277, allocations: 35.7 kB / 1.293 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.3277, allocations: 4 kB / 1.293 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3278, allocations: 11.98 kB / 1.293 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.3279, allocations: 15.97 kB / 1.293 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.3279, allocations: 8 kB / 1.293 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001412/0.328, allocations: 153.5 kB / 1.293 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.328, allocations: 0 / 1.293 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003091/0.3283, allocations: 47.94 kB / 1.293 GB, free: 2.43 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.0004049/0.3288, allocations: 168.5 kB / 1.293 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.3292, allocations: 311.8 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3292, allocations: 0 / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.315e-05/0.3293, allocations: 51.97 kB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.3297, allocations: 56.14 kB / 1.294 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/0.3304, allocations: 351.9 kB / 1.294 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.3306, allocations: 116.1 kB / 1.294 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.3306, allocations: 31.42 kB / 1.294 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3306, allocations: 0 / 1.294 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of Templates: time 0.006189/0.3368, allocations: 3.333 MB / 1.297 GB, free: 13.99 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.253020286094397]