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.001866/0.001866, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.001999/0.001999, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.544/1.544, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.839/2.839, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.806e-05, allocations: 10.25 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003377/0.003405, allocations: 1.803 MB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.004751, allocations: 0.6106 MB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.004831, allocations: 4 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.005056, allocations: 31.61 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.005443, allocations: 128.2 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.005839, allocations: 160.5 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.006185, allocations: 247.3 kB / 0.7892 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.006298, allocations: 26.36 kB / 0.7893 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.006512, allocations: 143.7 kB / 0.7894 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01183/0.01834, allocations: 1.647 MB / 0.791 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.096e-05/0.01842, allocations: 17.47 kB / 0.791 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.01855, allocations: 39.92 kB / 0.7911 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.105e-05/0.01864, allocations: 39.83 kB / 0.7911 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.01876, allocations: 67.81 kB / 0.7912 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.0192, allocations: 240.8 kB / 0.7914 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01921, allocations: 0 / 0.7914 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.273e-06/0.01921, allocations: 0 / 0.7914 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.01921, allocations: 0 / 0.7914 GB, free: 8.312 MB / 0.7448 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.0009427/0.02016, allocations: 0.5996 MB / 0.792 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.02019, allocations: 8.031 kB / 0.792 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.915e-05/0.02029, allocations: 32.8 kB / 0.792 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.02066, allocations: 196.4 kB / 0.7922 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.02069, allocations: 16.38 kB / 0.7922 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/0.02073, allocations: 20.36 kB / 0.7922 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.02094, allocations: 94.2 kB / 0.7923 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.02095, allocations: 4.531 kB / 0.7923 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.02096, allocations: 4 kB / 0.7923 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.02097, allocations: 4.625 kB / 0.7923 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.0211, allocations: 56.62 kB / 0.7924 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009482/0.02205, allocations: 465.1 kB / 0.7928 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.02234, allocations: 108.3 kB / 0.7929 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.02241, allocations: 35.67 kB / 0.793 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.02244, allocations: 8 kB / 0.793 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.02264, allocations: 109.8 kB / 0.7931 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.02264, allocations: 0 / 0.7931 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000378/0.02302, allocations: 169.2 kB / 0.7933 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.02308, allocations: 60.53 kB / 0.7933 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.02338, allocations: 294.6 kB / 0.7936 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.488e-05/0.02343, allocations: 37.69 kB / 0.7936 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.02358, allocations: 172.1 kB / 0.7938 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.02363, allocations: 43.69 kB / 0.7938 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.02375, allocations: 68.5 kB / 0.7939 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002794/0.02403, allocations: 0.5157 MB / 0.7944 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.02426, allocations: 119.3 kB / 0.7945 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.02462, allocations: 266.1 kB / 0.7948 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.02497, allocations: 225.8 kB / 0.795 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.02497, allocations: 2.781 kB / 0.795 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007442/0.02572, allocations: 398.2 kB / 0.7954 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.268e-05/0.02579, allocations: 71.39 kB / 0.7954 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.02579, allocations: 0 / 0.7954 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.02581, allocations: 4 kB / 0.7954 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.02592, allocations: 29.45 kB / 0.7955 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.02593, allocations: 0 / 0.7955 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.02612, allocations: 31.81 kB / 0.7955 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.02614, allocations: 8 kB / 0.7955 GB, free: 3.75 MB / 0.7448 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.00018/0.02632, allocations: 191.5 kB / 0.7957 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.02637, allocations: 23.86 kB / 0.7957 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.02665, allocations: 144 kB / 0.7958 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.02665, allocations: 1.375 kB / 0.7958 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.02665, allocations: 0 / 0.7958 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.02666, allocations: 3.938 kB / 0.7959 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.02737, allocations: 481.8 kB / 0.7963 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.02737, allocations: 0 / 0.7963 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.02741, allocations: 9.922 kB / 0.7963 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.02742, allocations: 4 kB / 0.7963 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.02743, allocations: 3.938 kB / 0.7963 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.02743, allocations: 3.938 kB / 0.7963 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.02743, allocations: 0 / 0.7963 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.02775, allocations: 296.3 kB / 0.7966 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.02782, allocations: 36.91 kB / 0.7966 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.02785, allocations: 7.938 kB / 0.7967 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.02796, allocations: 7.984 kB / 0.7967 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.02803, allocations: 21 kB / 0.7967 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.02805, allocations: 7.938 kB / 0.7967 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002119/0.02827, allocations: 197.4 kB / 0.7969 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.02827, allocations: 0.8438 kB / 0.7969 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003106/0.02858, allocations: 43.98 kB / 0.7969 GB, free: 2.23 MB / 0.7448 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.000512/0.02909, allocations: 176.3 kB / 0.7971 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005212/0.02961, allocations: 326.7 kB / 0.7974 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.02961, allocations: 1.062 kB / 0.7974 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.02972, allocations: 55.61 kB / 0.7975 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.03017, allocations: 64.94 kB / 0.7975 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007/0.03087, allocations: 333.1 kB / 0.7978 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.031, allocations: 110.4 kB / 0.7979 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.762e-05/0.03109, allocations: 35.86 kB / 0.798 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.03116, allocations: 28.48 kB / 0.798 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.03116, allocations: 0 / 0.798 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of Templates: time 0.008948/0.0401, allocations: 3.839 MB / 0.8018 GB, free: 13.3 MB / 0.7605 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.06634204997681]