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.0009764/0.0009764, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.00151/0.00151, allocations: 169 kB / 24.28 MB, free: 276 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.9988/0.9988, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.699/1.699, allocations: 359 MB / 0.6055 GB, free: 11 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 2.284e-06/2.284e-06, allocations: 0 / 0.787 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.057e-05, allocations: 3.469 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003459/0.00349, allocations: 1.825 MB / 0.7888 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.004781, allocations: 0.6259 MB / 0.7894 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.004915, allocations: 4 kB / 0.7894 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.005137, allocations: 19.73 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.005642, allocations: 137.5 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.006108, allocations: 163.6 kB / 0.7898 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.006511, allocations: 239.4 kB / 0.79 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.006678, allocations: 25.8 kB / 0.79 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.006921, allocations: 149.6 kB / 0.7901 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006133/0.01305, allocations: 1.624 MB / 0.7917 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.656e-05/0.01313, allocations: 22.59 kB / 0.7918 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.01326, allocations: 39.94 kB / 0.7918 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.01334, allocations: 39.83 kB / 0.7918 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.01346, allocations: 79.72 kB / 0.7919 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.01392, allocations: 187.3 kB / 0.7921 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.01393, allocations: 4 kB / 0.7921 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.404e-06/0.01393, allocations: 0 / 0.7921 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.01394, allocations: 0.7188 kB / 0.7921 GB, free: 8.32 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.0009458/0.01488, allocations: 0.5831 MB / 0.7927 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.01494, allocations: 12.03 kB / 0.7927 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.01507, allocations: 40.7 kB / 0.7927 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.01541, allocations: 197.2 kB / 0.7929 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.01544, allocations: 17.02 kB / 0.7929 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.01547, allocations: 12.38 kB / 0.7929 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.01565, allocations: 87.11 kB / 0.793 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.01566, allocations: 7.922 kB / 0.793 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.01568, allocations: 9.156 kB / 0.793 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.01569, allocations: 0 / 0.793 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.012e-05/0.01578, allocations: 39.83 kB / 0.7931 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008005/0.01658, allocations: 450.4 kB / 0.7935 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.01685, allocations: 95.16 kB / 0.7936 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.0169, allocations: 24.42 kB / 0.7936 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.01692, allocations: 5.281 kB / 0.7936 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.01707, allocations: 92.92 kB / 0.7937 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 3.196e-06/0.01707, allocations: 4 kB / 0.7937 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003367/0.01741, allocations: 149.3 kB / 0.7938 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.01747, allocations: 55.41 kB / 0.7939 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.01768, allocations: 259.7 kB / 0.7941 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.01771, allocations: 29.7 kB / 0.7942 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.01782, allocations: 179.3 kB / 0.7943 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.01786, allocations: 48.95 kB / 0.7944 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.01796, allocations: 63.33 kB / 0.7945 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.01809, allocations: 0.5001 MB / 0.7949 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.01828, allocations: 107.3 kB / 0.795 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.01848, allocations: 233.3 kB / 0.7953 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.01871, allocations: 209.1 kB / 0.7955 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01871, allocations: 0 / 0.7955 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004958/0.01921, allocations: 346.5 kB / 0.7958 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.01927, allocations: 67.39 kB / 0.7959 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01927, allocations: 0.5 kB / 0.7959 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.01929, allocations: 9.875 kB / 0.7959 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.0194, allocations: 31.92 kB / 0.7959 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.0194, allocations: 0 / 0.7959 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.01955, allocations: 27.88 kB / 0.7959 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.01958, allocations: 15.97 kB / 0.7959 GB, free: 4.02 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.0001254/0.0197, allocations: 183.3 kB / 0.7961 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.01974, allocations: 24.7 kB / 0.7961 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.01996, allocations: 123.5 kB / 0.7963 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.01997, allocations: 4.641 kB / 0.7963 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01997, allocations: 3.984 kB / 0.7963 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.01998, allocations: 6.75 kB / 0.7963 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.02049, allocations: 457.1 kB / 0.7967 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.02049, allocations: 0 / 0.7967 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.02053, allocations: 7.938 kB / 0.7967 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.02053, allocations: 0 / 0.7967 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.02055, allocations: 11.94 kB / 0.7967 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.02055, allocations: 2.125 kB / 0.7967 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.02055, allocations: 0 / 0.7967 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.02078, allocations: 275.3 kB / 0.797 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.02084, allocations: 35.77 kB / 0.797 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.02087, allocations: 7.938 kB / 0.797 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.213e-05/0.02096, allocations: 11.98 kB / 0.797 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.02103, allocations: 13.02 kB / 0.7971 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.02106, allocations: 11.98 kB / 0.7971 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001154/0.02117, allocations: 178.4 kB / 0.7972 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02117, allocations: 0 / 0.7972 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003536/0.02153, allocations: 47.94 kB / 0.7973 GB, free: 2.582 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.0004255/0.02195, allocations: 168.6 kB / 0.7974 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.02231, allocations: 292.9 kB / 0.7977 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.02231, allocations: 5.031 kB / 0.7977 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.02239, allocations: 43.61 kB / 0.7978 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.02281, allocations: 73.53 kB / 0.7978 GB, free: 2 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.02346, allocations: 327.2 kB / 0.7982 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.952e-05/0.02352, allocations: 71.98 kB / 0.7982 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.45e-05/0.02361, allocations: 33.86 kB / 0.7983 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.02367, allocations: 28.48 kB / 0.7983 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of SimCode: time 9.52e-07/0.02367, allocations: 0 / 0.7983 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.007982/0.03166, allocations: 3.828 MB / 0.802 GB, free: 13.74 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.049561674008146]