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.000987/0.000987, allocations: 83.59 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.0009643/0.0009643, allocations: 165 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.8944/0.8944, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.687/1.687, 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.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.493e-06/1.493e-06, allocations: 0 / 0.787 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.757e-05, allocations: 2.312 kB / 0.787 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002102/0.00212, allocations: 1.833 MB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000954/0.003074, allocations: 0.599 MB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.003175, allocations: 0.625 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.003389, allocations: 37.11 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.003815, allocations: 119.3 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.004177, allocations: 159.6 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.004472, allocations: 228.7 kB / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.004601, allocations: 21.8 kB / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008489/0.01309, allocations: 2.365 MB / 0.7923 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.01328, allocations: 95.73 kB / 0.7924 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.01332, allocations: 13.66 kB / 0.7924 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.026e-05/0.01341, allocations: 32 kB / 0.7924 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.01347, allocations: 39.83 kB / 0.7924 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.427e-05/0.01355, allocations: 55.81 kB / 0.7925 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.01389, allocations: 179.3 kB / 0.7927 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.01389, allocations: 1.375 kB / 0.7927 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.01389, allocations: 0 / 0.7927 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.0139, allocations: 0 / 0.7927 GB, free: 7.691 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.0007232/0.01462, allocations: 0.5745 MB / 0.7932 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.01466, allocations: 9.375 kB / 0.7932 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.217e-05/0.01475, allocations: 24.84 kB / 0.7933 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.015, allocations: 185.1 kB / 0.7934 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.01502, allocations: 14.31 kB / 0.7935 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.01505, allocations: 23.86 kB / 0.7935 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.01522, allocations: 73.66 kB / 0.7935 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.01523, allocations: 0 / 0.7935 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.01524, allocations: 4 kB / 0.7936 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01525, allocations: 5.125 kB / 0.7936 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.371e-05/0.01533, allocations: 38.72 kB / 0.7936 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.01607, allocations: 429.8 kB / 0.794 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.0162, allocations: 63.05 kB / 0.7941 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.01625, allocations: 29.55 kB / 0.7941 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.01626, allocations: 4 kB / 0.7941 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.0164, allocations: 91.58 kB / 0.7942 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.794e-06/0.0164, allocations: 0 / 0.7942 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002842/0.01668, allocations: 129.6 kB / 0.7943 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.01672, allocations: 56.06 kB / 0.7944 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.0169, allocations: 235.3 kB / 0.7946 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.01694, allocations: 34.45 kB / 0.7946 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01704, allocations: 172 kB / 0.7948 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.01707, allocations: 39.66 kB / 0.7948 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.363e-05/0.01716, allocations: 63.81 kB / 0.7949 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.01731, allocations: 0.5092 MB / 0.7954 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.658e-05/0.01735, allocations: 15.98 kB / 0.7954 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.0176, allocations: 248.3 kB / 0.7956 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.01773, allocations: 107 kB / 0.7957 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01774, allocations: 0.9062 kB / 0.7957 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002222/0.01796, allocations: 138.7 kB / 0.7959 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.01798, allocations: 8 kB / 0.7959 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01798, allocations: 0.6562 kB / 0.7959 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.018, allocations: 4 kB / 0.7959 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.01811, allocations: 24.52 kB / 0.7959 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01811, allocations: 1.906 kB / 0.7959 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.01824, allocations: 27.81 kB / 0.7959 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.01825, allocations: 8 kB / 0.7959 GB, free: 4.059 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.000104/0.01835, allocations: 172.3 kB / 0.7961 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.01838, allocations: 28.73 kB / 0.7961 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.01857, allocations: 119 kB / 0.7962 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01857, allocations: 3.438 kB / 0.7962 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01857, allocations: 0 / 0.7962 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01858, allocations: 0 / 0.7962 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.01901, allocations: 421.2 kB / 0.7966 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01901, allocations: 3.938 kB / 0.7967 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.01905, allocations: 12 kB / 0.7967 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.01905, allocations: 0 / 0.7967 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01906, allocations: 7.922 kB / 0.7967 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.01906, allocations: 4.625 kB / 0.7967 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01906, allocations: 0 / 0.7967 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.01926, allocations: 256.5 kB / 0.7969 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.01931, allocations: 23.89 kB / 0.7969 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.01933, allocations: 12.38 kB / 0.797 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.01941, allocations: 9.297 kB / 0.797 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.01947, allocations: 23.91 kB / 0.797 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.01948, allocations: 4 kB / 0.797 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001043/0.01959, allocations: 178.2 kB / 0.7972 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01959, allocations: 0 / 0.7972 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003281/0.01992, allocations: 39.89 kB / 0.7972 GB, free: 2.703 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.0003406/0.02026, allocations: 177.3 kB / 0.7974 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.02044, allocations: 79.58 kB / 0.7974 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.02044, allocations: 2.719 kB / 0.7974 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.395e-05/0.02052, allocations: 43.61 kB / 0.7975 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.02085, allocations: 53.62 kB / 0.7975 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.0213, allocations: 289.8 kB / 0.7978 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.087e-05/0.02134, allocations: 72.92 kB / 0.7979 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.453e-05/0.02139, allocations: 26.56 kB / 0.7979 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.02143, allocations: 28.44 kB / 0.7979 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/0.02143, allocations: 0 / 0.7979 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of Templates: time 0.005408/0.02684, allocations: 3.742 MB / 0.8016 GB, free: 14.23 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: 4.842235323973]