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.000992/0.000992, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009813/0.0009813, allocations: 181 kB / 24.09 MB, free: 420 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.9367/0.9367, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.776/1.776, allocations: 359 MB / 0.6055 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.343e-06/1.343e-06, allocations: 0 / 0.7875 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.401e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002314/0.002338, allocations: 1.816 MB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009108/0.003249, allocations: 0.6225 MB / 0.7899 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.003337, allocations: 7.938 kB / 0.7899 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.003545, allocations: 28.8 kB / 0.7899 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.003913, allocations: 127.4 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.004235, allocations: 156.2 kB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.004495, allocations: 256.7 kB / 0.7904 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.004633, allocations: 21.8 kB / 0.7905 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008711/0.01334, allocations: 3.203 MB / 0.7936 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.01353, allocations: 95.73 kB / 0.7937 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.01357, allocations: 12 kB / 0.7937 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.676e-05/0.01367, allocations: 32 kB / 0.7937 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.01373, allocations: 45.58 kB / 0.7938 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.998e-05/0.0138, allocations: 59.81 kB / 0.7938 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.01411, allocations: 183.3 kB / 0.794 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.01411, allocations: 0 / 0.794 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.854e-06/0.01412, allocations: 0 / 0.794 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.01412, allocations: 1.531 kB / 0.794 GB, free: 6.828 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.0005576/0.01468, allocations: 0.5949 MB / 0.7946 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.01472, allocations: 12.03 kB / 0.7946 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.01477, allocations: 28.83 kB / 0.7946 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.01498, allocations: 196.4 kB / 0.7948 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.015, allocations: 16.38 kB / 0.7948 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.01502, allocations: 16.38 kB / 0.7948 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.01514, allocations: 78.2 kB / 0.7949 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.01515, allocations: 5.844 kB / 0.7949 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.01516, allocations: 0 / 0.7949 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.01517, allocations: 4 kB / 0.7949 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.444e-05/0.01521, allocations: 31.69 kB / 0.795 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.01571, allocations: 406.7 kB / 0.7953 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.01586, allocations: 87.11 kB / 0.7954 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.01589, allocations: 19.72 kB / 0.7954 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.01591, allocations: 6.281 kB / 0.7954 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.01602, allocations: 95.91 kB / 0.7955 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.01602, allocations: 0 / 0.7955 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002004/0.01622, allocations: 137.4 kB / 0.7957 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.01625, allocations: 59.92 kB / 0.7957 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.01638, allocations: 246.7 kB / 0.796 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.0164, allocations: 34.86 kB / 0.796 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.01648, allocations: 175.3 kB / 0.7962 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.01654, allocations: 43.61 kB / 0.7962 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.01661, allocations: 71.98 kB / 0.7963 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.01672, allocations: 0.5039 MB / 0.7968 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.01683, allocations: 108.7 kB / 0.7969 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.01696, allocations: 236.7 kB / 0.7971 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.01709, allocations: 194.9 kB / 0.7973 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01709, allocations: 0 / 0.7973 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002785/0.01737, allocations: 338.3 kB / 0.7976 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.01741, allocations: 67.39 kB / 0.7977 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.01742, allocations: 0 / 0.7977 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.01743, allocations: 5.094 kB / 0.7977 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/0.01749, allocations: 27.98 kB / 0.7977 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.01749, allocations: 5 kB / 0.7977 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.526e-05/0.01757, allocations: 19.94 kB / 0.7977 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.01758, allocations: 15.94 kB / 0.7977 GB, free: 2.648 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.0001736/0.01776, allocations: 175.8 kB / 0.7979 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.01779, allocations: 27.86 kB / 0.7979 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.01793, allocations: 125.2 kB / 0.798 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01794, allocations: 4 kB / 0.7981 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01794, allocations: 0 / 0.7981 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01794, allocations: 0 / 0.7981 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.01827, allocations: 421.5 kB / 0.7985 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01827, allocations: 0 / 0.7985 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.01829, allocations: 8.75 kB / 0.7985 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01829, allocations: 0 / 0.7985 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.0183, allocations: 5.078 kB / 0.7985 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.0183, allocations: 4 kB / 0.7985 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.0183, allocations: 3.938 kB / 0.7985 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.01844, allocations: 272.4 kB / 0.7987 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.01848, allocations: 31.78 kB / 0.7988 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.01849, allocations: 0.8438 kB / 0.7988 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.01854, allocations: 19.61 kB / 0.7988 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.01858, allocations: 19.91 kB / 0.7988 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.0186, allocations: 4 kB / 0.7988 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.531e-05/0.01867, allocations: 177.3 kB / 0.799 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01867, allocations: 0 / 0.799 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001924/0.01886, allocations: 43.94 kB / 0.799 GB, free: 1.281 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.0003221/0.01918, allocations: 177.3 kB / 0.7992 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.0194, allocations: 277.6 kB / 0.7995 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.0194, allocations: 0 / 0.7995 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.01945, allocations: 47.61 kB / 0.7995 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.01972, allocations: 71.02 kB / 0.7996 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.02014, allocations: 306.8 kB / 0.7999 GB, free: 380 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.206e-05/0.02019, allocations: 75.98 kB / 0.7999 GB, free: 284 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.992e-05/0.02024, allocations: 21.94 kB / 0.8 GB, free: 260 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.02038, allocations: 142.1 kB / 0.8001 GB, free: 116 kB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.02038, allocations: 0 / 0.8001 GB, free: 116 kB / 0.7448 GB Notification: Performance of Templates: time 0.005782/0.02616, allocations: 3.893 MB / 0.8039 GB, free: 12.28 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.900589406024665]