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.001797/0.001797, allocations: 79.52 kB / 19.18 MB, free: 2.516 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.001882/0.001882, allocations: 159.2 kB / 22.46 MB, free: 5.375 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.503/1.503, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.858/2.858, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.508e-05/3.741e-05, allocations: 4.953 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00319/0.003228, allocations: 1.78 MB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.004664, allocations: 0.6117 MB / 0.9837 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.004744, allocations: 7.875 kB / 0.9837 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.004944, allocations: 31.67 kB / 0.9838 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.005394, allocations: 131.3 kB / 0.9839 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.005823, allocations: 155.6 kB / 0.984 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.00617, allocations: 243.4 kB / 0.9843 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.006305, allocations: 29.78 kB / 0.9843 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.006519, allocations: 143.7 kB / 0.9844 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008585/0.0151, allocations: 1.036 MB / 0.9854 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.411e-05/0.01519, allocations: 16 kB / 0.9855 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.01532, allocations: 43.86 kB / 0.9855 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.01541, allocations: 43.83 kB / 0.9855 GB, free: 8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.01553, allocations: 75.73 kB / 0.9856 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.01597, allocations: 231.3 kB / 0.9858 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.01598, allocations: 4 kB / 0.9858 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.133e-06/0.01598, allocations: 0 / 0.9858 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.01599, allocations: 0 / 0.9858 GB, free: 7.695 MB / 0.9356 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.0008437/0.01683, allocations: 496.5 kB / 0.9863 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.01687, allocations: 8.031 kB / 0.9863 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/0.01695, allocations: 28.73 kB / 0.9863 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.0173, allocations: 195.1 kB / 0.9865 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.01732, allocations: 12.38 kB / 0.9865 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.01737, allocations: 16.38 kB / 0.9866 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.01758, allocations: 102.2 kB / 0.9867 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.0176, allocations: 3.938 kB / 0.9867 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.01761, allocations: 0 / 0.9867 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.01762, allocations: 4 kB / 0.9867 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.01775, allocations: 71.81 kB / 0.9867 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008823/0.01864, allocations: 388.1 kB / 0.9871 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.01892, allocations: 102.7 kB / 0.9872 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.227e-05/0.01898, allocations: 32.84 kB / 0.9872 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.01901, allocations: 0 / 0.9872 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.01918, allocations: 111.3 kB / 0.9873 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.01919, allocations: 0 / 0.9873 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0003767/0.01956, allocations: 175.4 kB / 0.9875 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.01961, allocations: 55.41 kB / 0.9876 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.01985, allocations: 215.7 kB / 0.9878 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.01989, allocations: 33.64 kB / 0.9878 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.02001, allocations: 132.6 kB / 0.9879 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.02005, allocations: 39.69 kB / 0.988 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.02016, allocations: 61.67 kB / 0.988 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.02032, allocations: 330.8 kB / 0.9883 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.02054, allocations: 123.3 kB / 0.9885 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.02085, allocations: 238.5 kB / 0.9887 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.02118, allocations: 216.1 kB / 0.9889 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02119, allocations: 0 / 0.9889 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006913/0.02188, allocations: 396.2 kB / 0.9893 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/0.02194, allocations: 73.89 kB / 0.9893 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.02195, allocations: 0 / 0.9893 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.02196, allocations: 7.938 kB / 0.9893 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.149e-05/0.02206, allocations: 23.94 kB / 0.9894 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.773e-05/0.02208, allocations: 11.97 kB / 0.9894 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.02229, allocations: 23.83 kB / 0.9894 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.02233, allocations: 15.98 kB / 0.9894 GB, free: 3.715 MB / 0.9356 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.0001543/0.02248, allocations: 147.8 kB / 0.9896 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.02251, allocations: 15.91 kB / 0.9896 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.02278, allocations: 147.4 kB / 0.9897 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.02278, allocations: 4 kB / 0.9897 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.02279, allocations: 0 / 0.9897 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.02279, allocations: 3.938 kB / 0.9897 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.02338, allocations: 415.6 kB / 0.9901 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.02339, allocations: 0 / 0.9901 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.02343, allocations: 15.92 kB / 0.9901 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.02344, allocations: 0 / 0.9901 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.02345, allocations: 7.938 kB / 0.9901 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.02345, allocations: 4 kB / 0.9901 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.02346, allocations: 4 kB / 0.9901 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.02373, allocations: 235.3 kB / 0.9904 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.02379, allocations: 27.83 kB / 0.9904 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.02382, allocations: 11.92 kB / 0.9904 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.02394, allocations: 8 kB / 0.9904 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.02401, allocations: 15.97 kB / 0.9904 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.02404, allocations: 11.98 kB / 0.9904 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001429/0.02418, allocations: 145.5 kB / 0.9906 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.02418, allocations: 0 / 0.9906 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003323/0.02451, allocations: 47.89 kB / 0.9906 GB, free: 2.41 MB / 0.9356 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.0004516/0.02496, allocations: 182 kB / 0.9908 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004897/0.02545, allocations: 305.9 kB / 0.9911 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.02546, allocations: 3.938 kB / 0.9911 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.02556, allocations: 43.98 kB / 0.9911 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.02603, allocations: 56.59 kB / 0.9912 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007155/0.02675, allocations: 318.4 kB / 0.9915 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.02688, allocations: 124.5 kB / 0.9916 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.843e-05/0.02698, allocations: 37.86 kB / 0.9917 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.02705, allocations: 24.48 kB / 0.9917 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.02705, allocations: 0 / 0.9917 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of Templates: time 0.009351/0.0364, allocations: 3.81 MB / 0.9954 GB, free: 13.54 MB / 0.9512 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 -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/jenkins/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: 8.104041807353497]