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.001488/0.001488, allocations: 93.16 kB / 19.65 MB, free: 292 kB / 13.93 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.001911/0.001911, allocations: 172.9 kB / 23.02 MB, free: 1.562 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 0.9505/0.9505, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.024/2.024, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.262e-06/1.262e-06, allocations: 0 / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.436e-05, allocations: 2.812 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002631/0.002655, allocations: 1.838 MB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.003573, allocations: 0.6299 MB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.293e-05/0.003646, allocations: 7.875 kB / 0.8805 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.003823, allocations: 27.73 kB / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.004169, allocations: 123.4 kB / 0.8807 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.004473, allocations: 159.6 kB / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.004724, allocations: 255.6 kB / 0.8811 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.004844, allocations: 25.8 kB / 0.8811 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008308/0.01315, allocations: 3.198 MB / 0.8842 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.01334, allocations: 91.73 kB / 0.8843 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.01339, allocations: 16 kB / 0.8843 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.01351, allocations: 31.98 kB / 0.8844 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.01358, allocations: 43.83 kB / 0.8844 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.301e-05/0.01366, allocations: 55.83 kB / 0.8845 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.01401, allocations: 187.2 kB / 0.8846 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.01402, allocations: 0 / 0.8846 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.384e-06/0.01402, allocations: 0 / 0.8846 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.01403, allocations: 8 kB / 0.8846 GB, free: 0.793 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.0006677/0.0147, allocations: 0.5923 MB / 0.8852 GB, free: 156 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.01474, allocations: 8.031 kB / 0.8852 GB, free: 148 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.01482, allocations: 32.8 kB / 0.8853 GB, free: 116 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.01507, allocations: 200.7 kB / 0.8855 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.01509, allocations: 12.38 kB / 0.8855 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.01511, allocations: 16.38 kB / 0.8855 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.01526, allocations: 86.06 kB / 0.8856 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.01527, allocations: 7.938 kB / 0.8856 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.01529, allocations: 4 kB / 0.8856 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.0153, allocations: 0 / 0.8856 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.822e-05/0.01536, allocations: 39.91 kB / 0.8856 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.01602, allocations: 435.3 kB / 0.886 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.01625, allocations: 87.23 kB / 0.8861 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.01629, allocations: 27.67 kB / 0.8861 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.01631, allocations: 4 kB / 0.8861 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.01645, allocations: 100.9 kB / 0.8862 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.01645, allocations: 0 / 0.8862 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002793/0.01673, allocations: 153 kB / 0.8864 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.01677, allocations: 59.41 kB / 0.8864 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.01692, allocations: 254.7 kB / 0.8867 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.01695, allocations: 33.7 kB / 0.8867 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.01706, allocations: 167.3 kB / 0.8869 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.01709, allocations: 55.56 kB / 0.8869 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.01716, allocations: 63.34 kB / 0.887 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.01731, allocations: 0.504 MB / 0.8875 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.01745, allocations: 112 kB / 0.8876 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.0176, allocations: 243.8 kB / 0.8878 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.01776, allocations: 197.1 kB / 0.888 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.01776, allocations: 8.031 kB / 0.888 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003754/0.01814, allocations: 356 kB / 0.8884 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.01819, allocations: 63.39 kB / 0.8884 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01819, allocations: 0 / 0.8884 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.01821, allocations: 4 kB / 0.8884 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.829e-05/0.01829, allocations: 27.92 kB / 0.8884 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.0183, allocations: 4 kB / 0.8885 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-05/0.01839, allocations: 23.88 kB / 0.8885 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.01841, allocations: 20.14 kB / 0.8885 GB, free: 12.48 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 0.0001164/0.01852, allocations: 178.5 kB / 0.8887 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.01855, allocations: 23.91 kB / 0.8887 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.01874, allocations: 123.5 kB / 0.8888 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01875, allocations: 0 / 0.8888 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.01875, allocations: 0 / 0.8888 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.01876, allocations: 7.922 kB / 0.8888 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.01919, allocations: 457.1 kB / 0.8892 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.01919, allocations: 0 / 0.8892 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.01922, allocations: 12 kB / 0.8893 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01922, allocations: 0 / 0.8893 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01924, allocations: 11.88 kB / 0.8893 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.01924, allocations: 3.984 kB / 0.8893 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01924, allocations: 0 / 0.8893 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.01942, allocations: 275.8 kB / 0.8895 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.01946, allocations: 27.83 kB / 0.8896 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.01948, allocations: 3.938 kB / 0.8896 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.01954, allocations: 15.98 kB / 0.8896 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.01961, allocations: 19.91 kB / 0.8896 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.01963, allocations: 8 kB / 0.8896 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.202e-05/0.01971, allocations: 181.4 kB / 0.8898 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01971, allocations: 0 / 0.8898 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002143/0.01992, allocations: 47.89 kB / 0.8898 GB, free: 11.04 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.0004169/0.02034, allocations: 173.2 kB / 0.89 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002881/0.02063, allocations: 286.1 kB / 0.8903 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02063, allocations: 0 / 0.8903 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.868e-05/0.02069, allocations: 47.61 kB / 0.8903 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.02099, allocations: 71.56 kB / 0.8904 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.02151, allocations: 305.5 kB / 0.8907 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.234e-05/0.02156, allocations: 75.84 kB / 0.8907 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.184e-05/0.02163, allocations: 30.02 kB / 0.8908 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.02168, allocations: 28.48 kB / 0.8908 GB, free: 9.969 MB / 0.8542 GB Notification: Performance of SimCode: time 8.91e-07/0.02168, allocations: 0 / 0.8908 GB, free: 9.969 MB / 0.8542 GB Notification: Performance of Templates: time 0.006514/0.02819, allocations: 3.892 MB / 0.8946 GB, free: 6.141 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.405893398914486]