Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.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.001411/0.001411, 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.001614/0.001614, allocations: 162.7 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 1.041/1.041, allocations: 177.2 MB / 205.3 MB, free: 5.488 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.82/1.82, 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.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.534e-05, allocations: 3.25 kB / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003449/0.003475, allocations: 1.824 MB / 0.7901 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.004676, allocations: 0.5942 MB / 0.7906 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.878e-05/0.004775, allocations: 4.469 kB / 0.7906 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.004995, allocations: 36.86 kB / 0.7907 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.00538, allocations: 111.4 kB / 0.7908 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.005726, allocations: 156.2 kB / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.006025, allocations: 236 kB / 0.7912 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.006155, allocations: 21.8 kB / 0.7912 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009198/0.01535, allocations: 2.363 MB / 0.7935 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.01559, allocations: 95.73 kB / 0.7936 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.01564, allocations: 12 kB / 0.7936 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.01575, allocations: 31.94 kB / 0.7936 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.054e-05/0.01582, allocations: 39.83 kB / 0.7937 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.579e-05/0.01592, allocations: 60.38 kB / 0.7937 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.01632, allocations: 180 kB / 0.7939 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.01633, allocations: 0 / 0.7939 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.483e-06/0.01633, allocations: 0.7188 kB / 0.7939 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.01633, allocations: 0 / 0.7939 GB, free: 7.441 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007143/0.01705, allocations: 0.5707 MB / 0.7944 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.01709, allocations: 8.625 kB / 0.7944 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.01717, allocations: 25.97 kB / 0.7945 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.01743, allocations: 189.1 kB / 0.7947 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.01745, allocations: 12.56 kB / 0.7947 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.01749, allocations: 20.86 kB / 0.7947 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.01762, allocations: 69.66 kB / 0.7948 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.01763, allocations: 0 / 0.7948 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.01765, allocations: 4.531 kB / 0.7948 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.01765, allocations: 5.094 kB / 0.7948 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.572e-05/0.01772, allocations: 35.22 kB / 0.7948 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.0184, allocations: 390.1 kB / 0.7952 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.01853, allocations: 69.19 kB / 0.7952 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.01856, allocations: 23.67 kB / 0.7953 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.01858, allocations: 0 / 0.7953 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.01871, allocations: 85.02 kB / 0.7953 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.01871, allocations: 0 / 0.7953 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002774/0.01899, allocations: 123.9 kB / 0.7955 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.01904, allocations: 62.19 kB / 0.7955 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.01922, allocations: 239.2 kB / 0.7957 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.01925, allocations: 29.7 kB / 0.7958 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01935, allocations: 163.3 kB / 0.7959 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.01939, allocations: 39.67 kB / 0.796 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.486e-05/0.01948, allocations: 63.31 kB / 0.796 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.01964, allocations: 0.5039 MB / 0.7965 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.418e-05/0.01967, allocations: 13.55 kB / 0.7965 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.01992, allocations: 248.5 kB / 0.7968 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.02003, allocations: 103 kB / 0.7969 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.02004, allocations: 0.5625 kB / 0.7969 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002139/0.02025, allocations: 130.3 kB / 0.797 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.02027, allocations: 8.688 kB / 0.797 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.02027, allocations: 0 / 0.797 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.02029, allocations: 5.906 kB / 0.797 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.0204, allocations: 27.92 kB / 0.797 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.0204, allocations: 4 kB / 0.797 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.02054, allocations: 15.89 kB / 0.797 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.02055, allocations: 8 kB / 0.7971 GB, free: 3.91 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001267/0.02068, allocations: 180.9 kB / 0.7972 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.02071, allocations: 24.95 kB / 0.7973 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.0209, allocations: 107.1 kB / 0.7974 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.0209, allocations: 0 / 0.7974 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.0209, allocations: 1.062 kB / 0.7974 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.02091, allocations: 3.984 kB / 0.7974 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.02136, allocations: 386.6 kB / 0.7977 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.02136, allocations: 7.984 kB / 0.7977 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.0214, allocations: 5.125 kB / 0.7977 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.0214, allocations: 0 / 0.7977 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.02141, allocations: 0 / 0.7977 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.02142, allocations: 7.938 kB / 0.7977 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.02142, allocations: 3.938 kB / 0.7978 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.02162, allocations: 263.7 kB / 0.798 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.02167, allocations: 19.89 kB / 0.798 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.02169, allocations: 4 kB / 0.798 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.02179, allocations: 15.92 kB / 0.798 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.02184, allocations: 11.98 kB / 0.7981 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.02186, allocations: 7.984 kB / 0.7981 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.395e-05/0.02195, allocations: 169.4 kB / 0.7982 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.02195, allocations: 0 / 0.7982 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003578/0.02231, allocations: 52.72 kB / 0.7983 GB, free: 2.609 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: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004063/0.02272, allocations: 171.6 kB / 0.7984 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.02289, allocations: 72.58 kB / 0.7985 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.0229, allocations: 1.469 kB / 0.7985 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.56e-05/0.02296, allocations: 42.36 kB / 0.7985 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.02336, allocations: 52.84 kB / 0.7986 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.02393, allocations: 289.8 kB / 0.7989 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.778e-05/0.02399, allocations: 77.08 kB / 0.7989 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.967e-05/0.02406, allocations: 14.14 kB / 0.799 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.02428, allocations: 138.1 kB / 0.7991 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of SimCode: time 9.52e-07/0.02428, allocations: 480 / 0.7991 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of Templates: time 0.008027/0.03231, allocations: 3.773 MB / 0.8028 GB, free: 14.01 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_Scatter.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.090292578097433]