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.001063/0.001063, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001028/0.001028, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.984/0.984, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.099/2.099, allocations: 429.5 MB / 0.6743 GB, free: 3.934 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.172e-06/1.172e-06, allocations: 0 / 0.8794 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.608e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002816/0.002832, allocations: 1.818 MB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.003996, allocations: 0.6337 MB / 0.8817 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.004072, allocations: 0 / 0.8817 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.004244, allocations: 23.73 kB / 0.8818 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.004576, allocations: 128.4 kB / 0.8819 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.004883, allocations: 163.6 kB / 0.882 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.00513, allocations: 244.5 kB / 0.8823 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.729e-05/0.005227, allocations: 26.14 kB / 0.8823 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01439/0.01961, allocations: 3.197 MB / 0.8854 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.01979, allocations: 95.73 kB / 0.8855 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.01982, allocations: 12 kB / 0.8855 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.01989, allocations: 39.97 kB / 0.8856 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.01994, allocations: 44.55 kB / 0.8856 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.02001, allocations: 51.83 kB / 0.8857 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.02027, allocations: 192.9 kB / 0.8858 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.02028, allocations: 4 kB / 0.8859 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.61e-07/0.02028, allocations: 0 / 0.8859 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.02028, allocations: 0 / 0.8859 GB, free: 0.5586 MB / 0.8386 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.003611/0.02389, allocations: 0.5899 MB / 0.8864 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.02392, allocations: 8.031 kB / 0.8864 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.428e-05/0.02399, allocations: 40.8 kB / 0.8865 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.02419, allocations: 192.8 kB / 0.8867 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.02421, allocations: 12.38 kB / 0.8867 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.02424, allocations: 20.31 kB / 0.8867 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.02435, allocations: 78.06 kB / 0.8868 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.02435, allocations: 3.938 kB / 0.8868 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.02437, allocations: 8 kB / 0.8868 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.02437, allocations: 0 / 0.8868 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.124e-05/0.02442, allocations: 27.97 kB / 0.8868 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003573/0.028, allocations: 407.9 kB / 0.8872 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.02816, allocations: 87.2 kB / 0.8873 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.02819, allocations: 23.61 kB / 0.8873 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.02821, allocations: 4 kB / 0.8873 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.893e-05/0.02831, allocations: 80.97 kB / 0.8874 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.02831, allocations: 0 / 0.8874 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002286/0.02854, allocations: 152.2 kB / 0.8875 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.02858, allocations: 59.34 kB / 0.8876 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.02873, allocations: 246.7 kB / 0.8878 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.02875, allocations: 33.7 kB / 0.8878 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.02884, allocations: 179.2 kB / 0.888 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.02887, allocations: 43.62 kB / 0.8881 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.02895, allocations: 67.3 kB / 0.8881 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.02908, allocations: 0.5078 MB / 0.8886 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.0292, allocations: 104.1 kB / 0.8887 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.02935, allocations: 235.8 kB / 0.8889 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.0295, allocations: 193.1 kB / 0.8891 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.02951, allocations: 0 / 0.8891 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003595/0.02986, allocations: 334 kB / 0.8894 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.0299, allocations: 63.39 kB / 0.8895 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.02991, allocations: 7.984 kB / 0.8895 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.02992, allocations: 4.156 kB / 0.8895 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.794e-05/0.03, allocations: 31.92 kB / 0.8895 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.03, allocations: 4 kB / 0.8896 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.03011, allocations: 27.89 kB / 0.8896 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.03013, allocations: 15.92 kB / 0.8896 GB, free: 12.36 MB / 0.8542 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.491e-05/0.03022, allocations: 178.5 kB / 0.8898 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.03025, allocations: 19.91 kB / 0.8898 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.0304, allocations: 123.4 kB / 0.8899 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.0304, allocations: 0 / 0.8899 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.0304, allocations: 4 kB / 0.8899 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.03041, allocations: 3.984 kB / 0.8899 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.03078, allocations: 413.7 kB / 0.8903 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.03078, allocations: 3.938 kB / 0.8903 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.0308, allocations: 7.984 kB / 0.8903 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.03081, allocations: 0 / 0.8903 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.03081, allocations: 7.938 kB / 0.8903 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.03082, allocations: 0 / 0.8903 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.03082, allocations: 3.938 kB / 0.8903 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.03099, allocations: 274.8 kB / 0.8906 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.03102, allocations: 31.83 kB / 0.8906 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.03104, allocations: 8 kB / 0.8906 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.03111, allocations: 7.984 kB / 0.8906 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.03116, allocations: 27.84 kB / 0.8907 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.03117, allocations: 4 kB / 0.8907 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.461e-05/0.03125, allocations: 169.4 kB / 0.8908 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.03125, allocations: 0 / 0.8908 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002862/0.03153, allocations: 51.88 kB / 0.8909 GB, free: 10.99 MB / 0.8542 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.0002734/0.03181, allocations: 180.5 kB / 0.891 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.03205, allocations: 277.6 kB / 0.8913 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.03206, allocations: 0 / 0.8913 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.639e-05/0.03211, allocations: 47.59 kB / 0.8914 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/0.03546, allocations: 59.09 kB / 0.8914 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.03589, allocations: 299 kB / 0.8917 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.737e-05/0.03594, allocations: 79.84 kB / 0.8918 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.363e-05/0.036, allocations: 26.25 kB / 0.8918 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.03617, allocations: 146.1 kB / 0.8919 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.03617, allocations: 0 / 0.8919 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of Templates: time 0.0123/0.04847, allocations: 3.933 MB / 0.8958 GB, free: 5.941 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.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.517692822962999]