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.001517/0.001517, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001834/0.001834, allocations: 210.3 kB / 22.99 MB, free: 4.957 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.273/3.273, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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: 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_12_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_12_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.00238/0.00238, allocations: 64.12 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4101, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003698/0.4138, allocations: 1.764 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.4152, allocations: 0.6197 MB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.822e-05/0.4153, allocations: 4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.4155, allocations: 27.73 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.416, allocations: 135.4 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.4164, allocations: 157.1 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.4167, allocations: 239.5 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.4168, allocations: 29.72 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.417, allocations: 119.6 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00816/0.4252, allocations: 1.044 MB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.878e-05/0.4252, allocations: 24 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.4254, allocations: 39.97 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.626e-05/0.4255, allocations: 43.78 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.4256, allocations: 79.62 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.4261, allocations: 227.1 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.4261, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4261, allocations: 4 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.4261, allocations: 0 / 1.331 GB, free: 12.73 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.0009804/0.4271, allocations: 0.4928 MB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4272, allocations: 8.031 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.408e-05/0.4273, allocations: 24.8 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.4277, allocations: 198.7 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.4277, allocations: 16.38 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.4277, allocations: 24.11 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.428, allocations: 101.6 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.428, allocations: 3.938 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.428, allocations: 3.938 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.428, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.4282, allocations: 67.77 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.4291, allocations: 392.1 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.4294, allocations: 102.7 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.568e-05/0.4295, allocations: 32.84 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.4295, allocations: 0 / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.4297, allocations: 107.4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.4297, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003971/0.4301, allocations: 177.4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.4301, allocations: 55.41 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.4304, allocations: 203.8 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.4304, allocations: 33.7 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.4305, allocations: 132.4 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.4306, allocations: 39.67 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.4307, allocations: 65.67 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4309, allocations: 326.8 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.4311, allocations: 123.3 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.4314, allocations: 248.8 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.4317, allocations: 210 kB / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4317, allocations: 0 / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006688/0.4324, allocations: 392.9 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.322e-05/0.4325, allocations: 75.56 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4325, allocations: 0 / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.4325, allocations: 7.938 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.4326, allocations: 16 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.4326, allocations: 7.938 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.4328, allocations: 23.88 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.4328, allocations: 15.98 kB / 1.335 GB, free: 8.75 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.0001574/0.433, allocations: 140.4 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.433, allocations: 19.86 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.4333, allocations: 150.2 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.4333, allocations: 19.86 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4333, allocations: 0 / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4333, allocations: 0 / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006371/0.434, allocations: 410 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.434, allocations: 3.938 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.434, allocations: 11.98 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.434, allocations: 3.938 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.434, allocations: 4 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.434, allocations: 4 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.434, allocations: 4 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.4343, allocations: 239.3 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.4344, allocations: 31.77 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.4344, allocations: 7.984 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.4345, allocations: 8 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.4346, allocations: 15.97 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.4346, allocations: 8 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001425/0.4348, allocations: 149.5 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4348, allocations: 0 / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003255/0.4351, allocations: 47.89 kB / 1.336 GB, free: 7.43 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.0004539/0.4355, allocations: 171.3 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.436, allocations: 305.9 kB / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.436, allocations: 0 / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.4361, allocations: 51.92 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.4366, allocations: 68.98 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006962/0.4373, allocations: 319.2 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.4374, allocations: 120.3 kB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.984e-05/0.4375, allocations: 25.94 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.4375, allocations: 23.42 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4375, allocations: 0 / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of Templates: time 0.009043/0.4466, allocations: 3.966 MB / 1.341 GB, free: 2.418 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.660786665044725]