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.001026/0.001026, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009589/0.0009589, allocations: 161 kB / 23.82 MB, free: 0.75 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.9845/0.9845, allocations: 177.1 MB / 204.2 MB, free: 5.266 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.815/1.815, allocations: 359 MB / 0.6052 GB, free: 11.03 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.164e-06/2.164e-06, allocations: 0 / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.481e-05, allocations: 5.984 kB / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00372/0.003754, allocations: 1.821 MB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.005153, allocations: 0.6336 MB / 0.7895 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.005261, allocations: 4 kB / 0.7895 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.005492, allocations: 24.28 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.005975, allocations: 128 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.006429, allocations: 164.5 kB / 0.7898 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.006809, allocations: 247.3 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.006969, allocations: 22.45 kB / 0.79 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.007231, allocations: 147.7 kB / 0.7902 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006253/0.01348, allocations: 1.625 MB / 0.7917 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.326e-05/0.01356, allocations: 16 kB / 0.7918 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.01368, allocations: 39.92 kB / 0.7918 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.01375, allocations: 48.42 kB / 0.7918 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.988e-05/0.01384, allocations: 60.41 kB / 0.7919 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.01416, allocations: 199.2 kB / 0.7921 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.01417, allocations: 5.219 kB / 0.7921 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.844e-06/0.01417, allocations: 0 / 0.7921 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.01418, allocations: 0 / 0.7921 GB, free: 8.031 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.0006868/0.01486, allocations: 0.5866 MB / 0.7927 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.0149, allocations: 8.031 kB / 0.7927 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.073e-05/0.01498, allocations: 33.72 kB / 0.7927 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.01525, allocations: 209.1 kB / 0.7929 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.01527, allocations: 4.375 kB / 0.7929 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.0153, allocations: 16.97 kB / 0.7929 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.01546, allocations: 90.81 kB / 0.793 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.01548, allocations: 3.938 kB / 0.793 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.0155, allocations: 4 kB / 0.793 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.01551, allocations: 4.75 kB / 0.793 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.837e-05/0.01559, allocations: 43.75 kB / 0.7931 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.01626, allocations: 454 kB / 0.7935 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.01647, allocations: 87.12 kB / 0.7936 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.01652, allocations: 29.22 kB / 0.7936 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.01654, allocations: 7.938 kB / 0.7936 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.01666, allocations: 103.7 kB / 0.7937 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.624e-06/0.01667, allocations: 0.5 kB / 0.7937 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002675/0.01693, allocations: 145.5 kB / 0.7939 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.01697, allocations: 59.89 kB / 0.7939 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.01713, allocations: 255.2 kB / 0.7942 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.01715, allocations: 33.7 kB / 0.7942 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.01724, allocations: 172.7 kB / 0.7944 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.01727, allocations: 43.61 kB / 0.7944 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.01735, allocations: 71.33 kB / 0.7945 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.01747, allocations: 0.4968 MB / 0.795 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.01762, allocations: 103.3 kB / 0.795 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.01778, allocations: 245.8 kB / 0.7953 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.01795, allocations: 197.7 kB / 0.7955 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01796, allocations: 0 / 0.7955 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00037/0.01833, allocations: 353.3 kB / 0.7958 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.01837, allocations: 64.52 kB / 0.7959 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01838, allocations: 4 kB / 0.7959 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.01839, allocations: 1 kB / 0.7959 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.01847, allocations: 31.92 kB / 0.7959 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.01848, allocations: 4 kB / 0.7959 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.01858, allocations: 24.72 kB / 0.7959 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.0186, allocations: 12 kB / 0.7959 GB, free: 3.734 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.642e-05/0.0187, allocations: 184.7 kB / 0.7961 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.01872, allocations: 23.86 kB / 0.7961 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.0189, allocations: 127.5 kB / 0.7963 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.0189, allocations: 0 / 0.7963 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.0189, allocations: 4 kB / 0.7963 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.01891, allocations: 6.719 kB / 0.7963 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.01929, allocations: 452.1 kB / 0.7967 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01929, allocations: 0 / 0.7967 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.01932, allocations: 11.98 kB / 0.7967 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01932, allocations: 3.938 kB / 0.7967 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.01933, allocations: 7.922 kB / 0.7967 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.01934, allocations: 5.094 kB / 0.7967 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01934, allocations: 3.984 kB / 0.7967 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.01951, allocations: 271.8 kB / 0.797 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.01955, allocations: 32.91 kB / 0.797 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.01957, allocations: 11.94 kB / 0.797 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.695e-05/0.01963, allocations: 11.98 kB / 0.7971 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.01968, allocations: 13.03 kB / 0.7971 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.0197, allocations: 8 kB / 0.7971 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.988e-05/0.01979, allocations: 185.4 kB / 0.7972 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01979, allocations: 0.5 kB / 0.7972 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002215/0.02001, allocations: 49.47 kB / 0.7973 GB, free: 2.289 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.0003885/0.0204, allocations: 166.1 kB / 0.7975 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002887/0.02068, allocations: 289.6 kB / 0.7977 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02069, allocations: 0 / 0.7977 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.973e-05/0.02075, allocations: 50.42 kB / 0.7978 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.02104, allocations: 66.02 kB / 0.7978 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.02155, allocations: 314.8 kB / 0.7981 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.761e-05/0.02159, allocations: 75.98 kB / 0.7982 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.374e-05/0.02166, allocations: 34.73 kB / 0.7982 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.02171, allocations: 29.55 kB / 0.7983 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.02171, allocations: 0 / 0.7983 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of Templates: time 0.006556/0.02826, allocations: 3.847 MB / 0.802 GB, free: 13.45 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.200699781998992]