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.001298/0.001298, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.00146/0.00146, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9636/0.9636, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.733/1.733, allocations: 359 MB / 0.6052 GB, free: 10.98 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.873e-06/1.873e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.582e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002326/0.002351, allocations: 1.818 MB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.003288, allocations: 0.6338 MB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.729e-05/0.003366, allocations: 0 / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.003555, allocations: 28.67 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.003903, allocations: 131.2 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.004207, allocations: 162.6 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.00445, allocations: 247.4 kB / 0.79 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.004564, allocations: 21.81 kB / 0.79 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007937/0.0125, allocations: 3.214 MB / 0.7932 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.01268, allocations: 87.75 kB / 0.7932 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.01272, allocations: 16.53 kB / 0.7933 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-05/0.0128, allocations: 36.69 kB / 0.7933 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.01286, allocations: 47.83 kB / 0.7933 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.953e-05/0.01294, allocations: 52.36 kB / 0.7934 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.01326, allocations: 187.2 kB / 0.7936 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01327, allocations: 1.594 kB / 0.7936 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01327, allocations: 0 / 0.7936 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.01327, allocations: 0 / 0.7936 GB, free: 7.047 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.0006278/0.0139, allocations: 0.5901 MB / 0.7941 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.01394, allocations: 8.031 kB / 0.7941 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.15e-05/0.01402, allocations: 29.53 kB / 0.7942 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.01424, allocations: 196.4 kB / 0.7944 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.01426, allocations: 12.88 kB / 0.7944 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.01428, allocations: 21.09 kB / 0.7944 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.01441, allocations: 82.2 kB / 0.7945 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.01442, allocations: 5.312 kB / 0.7945 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.01443, allocations: 8 kB / 0.7945 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.01444, allocations: 0 / 0.7945 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.01451, allocations: 39.83 kB / 0.7945 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.01508, allocations: 437.8 kB / 0.7949 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.0153, allocations: 88.02 kB / 0.795 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.01535, allocations: 27.67 kB / 0.7951 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.01537, allocations: 4 kB / 0.7951 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.01549, allocations: 97.77 kB / 0.7951 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.01549, allocations: 0 / 0.7951 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002758/0.01577, allocations: 157.4 kB / 0.7953 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.01581, allocations: 55.41 kB / 0.7954 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.01598, allocations: 259.4 kB / 0.7956 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.016, allocations: 33.7 kB / 0.7956 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.01609, allocations: 165.7 kB / 0.7958 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.01613, allocations: 51.61 kB / 0.7958 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.0162, allocations: 63.34 kB / 0.7959 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.01632, allocations: 0.504 MB / 0.7964 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.01644, allocations: 112 kB / 0.7965 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.01659, allocations: 243.8 kB / 0.7967 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.01674, allocations: 207 kB / 0.7969 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01674, allocations: 0.5 kB / 0.7969 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003213/0.01706, allocations: 352.6 kB / 0.7973 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.01711, allocations: 67.39 kB / 0.7973 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.01711, allocations: 0 / 0.7973 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01713, allocations: 5.094 kB / 0.7973 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.01719, allocations: 23.98 kB / 0.7974 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.0172, allocations: 4 kB / 0.7974 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/0.01729, allocations: 28.47 kB / 0.7974 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.01731, allocations: 16.83 kB / 0.7974 GB, free: 2.758 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 9.06e-05/0.0174, allocations: 182 kB / 0.7976 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.01742, allocations: 27.86 kB / 0.7976 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.01758, allocations: 127.4 kB / 0.7977 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01758, allocations: 0 / 0.7977 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01759, allocations: 0 / 0.7977 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01759, allocations: 7.922 kB / 0.7977 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.01794, allocations: 456.2 kB / 0.7982 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01794, allocations: 0 / 0.7982 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.01797, allocations: 8 kB / 0.7982 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01797, allocations: 5.406 kB / 0.7982 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.01798, allocations: 3.938 kB / 0.7982 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01798, allocations: 0 / 0.7982 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01798, allocations: 3.984 kB / 0.7982 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.01814, allocations: 276.8 kB / 0.7985 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.01817, allocations: 31.78 kB / 0.7985 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.01819, allocations: 9 kB / 0.7985 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.01824, allocations: 11.98 kB / 0.7985 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.01829, allocations: 11.98 kB / 0.7985 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.0183, allocations: 13.11 kB / 0.7985 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.625e-05/0.01838, allocations: 177.4 kB / 0.7987 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01838, allocations: 0 / 0.7987 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001999/0.01858, allocations: 45.19 kB / 0.7987 GB, free: 1.328 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.0003177/0.0189, allocations: 177.2 kB / 0.7989 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.01916, allocations: 289.6 kB / 0.7992 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01916, allocations: 0 / 0.7992 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.512e-05/0.01922, allocations: 51.59 kB / 0.7992 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.01948, allocations: 62.31 kB / 0.7993 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.01995, allocations: 318.8 kB / 0.7996 GB, free: 408 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.399e-05/0.02, allocations: 80.3 kB / 0.7997 GB, free: 308 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.609e-05/0.02005, allocations: 25.88 kB / 0.7997 GB, free: 280 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.0201, allocations: 28.48 kB / 0.7997 GB, free: 252 kB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.0201, allocations: 0 / 0.7997 GB, free: 252 kB / 0.7448 GB Notification: Performance of Templates: time 0.005664/0.02576, allocations: 3.877 MB / 0.8035 GB, free: 12.43 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: 4.902164299041033]