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.0009043/0.0009043, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009766/0.0009766, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9752/0.9752, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.822/1.822, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|timSer1.y.[0-9,]+.",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.[0-9,]+.|timSer1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.7883 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.485e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002201/0.002216, allocations: 1.822 MB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008752/0.003092, allocations: 0.6179 MB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.003162, allocations: 3.938 kB / 0.7907 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.003319, allocations: 32.59 kB / 0.7907 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.00362, allocations: 124.1 kB / 0.7908 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.003891, allocations: 163.6 kB / 0.791 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.004154, allocations: 244.9 kB / 0.7912 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.004259, allocations: 29.78 kB / 0.7912 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008586/0.01285, allocations: 3.194 MB / 0.7943 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.01301, allocations: 95.73 kB / 0.7944 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.01304, allocations: 12.97 kB / 0.7944 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.938e-05/0.01312, allocations: 31.98 kB / 0.7945 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.251e-05/0.01318, allocations: 49.2 kB / 0.7945 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.01325, allocations: 55.81 kB / 0.7946 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.01355, allocations: 191.2 kB / 0.7948 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.01355, allocations: 0 / 0.7948 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01355, allocations: 5.812 kB / 0.7948 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.01356, allocations: 0 / 0.7948 GB, free: 6.832 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.0006309/0.01419, allocations: 0.5865 MB / 0.7953 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.01423, allocations: 12.02 kB / 0.7953 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.01429, allocations: 28.84 kB / 0.7954 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.01451, allocations: 203 kB / 0.7956 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.01453, allocations: 16.31 kB / 0.7956 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.01455, allocations: 17.25 kB / 0.7956 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.01466, allocations: 74.2 kB / 0.7957 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.01467, allocations: 6.125 kB / 0.7957 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.01468, allocations: 4 kB / 0.7957 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.01469, allocations: 0 / 0.7957 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.01474, allocations: 35.77 kB / 0.7957 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.01526, allocations: 398.2 kB / 0.7961 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.01543, allocations: 91.14 kB / 0.7962 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.01545, allocations: 16.19 kB / 0.7962 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.01547, allocations: 4 kB / 0.7962 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.01558, allocations: 93.47 kB / 0.7963 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.01558, allocations: 1.906 kB / 0.7963 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002168/0.0158, allocations: 144.7 kB / 0.7964 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.01583, allocations: 55.39 kB / 0.7965 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.01598, allocations: 254.6 kB / 0.7967 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.01601, allocations: 36.23 kB / 0.7968 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.01609, allocations: 171.3 kB / 0.7969 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.01613, allocations: 47.61 kB / 0.797 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.0162, allocations: 67.3 kB / 0.797 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.01633, allocations: 0.5039 MB / 0.7975 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.01644, allocations: 108 kB / 0.7976 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.01659, allocations: 239.7 kB / 0.7979 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.01673, allocations: 191.7 kB / 0.798 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01673, allocations: 0 / 0.798 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003253/0.01706, allocations: 339.2 kB / 0.7984 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.0171, allocations: 64.2 kB / 0.7984 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.01711, allocations: 4 kB / 0.7984 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.01712, allocations: 3.406 kB / 0.7984 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.01718, allocations: 31.92 kB / 0.7985 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01719, allocations: 4 kB / 0.7985 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.445e-05/0.01727, allocations: 19.94 kB / 0.7985 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.01729, allocations: 23.86 kB / 0.7985 GB, free: 2.652 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.000104/0.0174, allocations: 174.5 kB / 0.7987 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.01743, allocations: 27.86 kB / 0.7987 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.01758, allocations: 121 kB / 0.7988 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01758, allocations: 0 / 0.7988 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01758, allocations: 0 / 0.7988 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.01759, allocations: 0 / 0.7988 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.01793, allocations: 422.7 kB / 0.7992 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01793, allocations: 0 / 0.7992 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.01795, allocations: 9.109 kB / 0.7992 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.01795, allocations: 0 / 0.7992 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.01796, allocations: 8 kB / 0.7992 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01796, allocations: 1.062 kB / 0.7992 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01796, allocations: 3.938 kB / 0.7992 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.0181, allocations: 271 kB / 0.7995 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.01814, allocations: 29.09 kB / 0.7995 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.01815, allocations: 4 kB / 0.7995 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.848e-05/0.0182, allocations: 11.98 kB / 0.7995 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.01824, allocations: 17.75 kB / 0.7996 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.01826, allocations: 12 kB / 0.7996 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.525e-05/0.01832, allocations: 173.3 kB / 0.7997 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01832, allocations: 0 / 0.7997 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002143/0.01854, allocations: 47.92 kB / 0.7998 GB, free: 1.293 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.0002852/0.01882, allocations: 174.1 kB / 0.7999 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.01905, allocations: 269.7 kB / 0.8002 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01905, allocations: 0 / 0.8002 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.928e-05/0.0191, allocations: 54.81 kB / 0.8003 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.01936, allocations: 58.94 kB / 0.8003 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.01975, allocations: 319.1 kB / 0.8006 GB, free: 396 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.01979, allocations: 79.92 kB / 0.8007 GB, free: 296 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.411e-05/0.01985, allocations: 26.02 kB / 0.8007 GB, free: 268 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.02, allocations: 142.1 kB / 0.8009 GB, free: 124 kB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/0.02, allocations: 0 / 0.8009 GB, free: 124 kB / 0.7448 GB Notification: Performance of Templates: time 0.005355/0.02535, allocations: 3.949 MB / 0.8047 GB, free: 12.23 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","",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.057771400082856]