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.001441/0.001441, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001043/0.001043, allocations: 173 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.9768/0.9768, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.778/1.778, 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.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 2.154e-06/2.154e-06, allocations: 0 / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.576e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003104/0.00313, allocations: 1.834 MB / 0.7888 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.004279, allocations: 0.599 MB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.785e-05/0.004367, allocations: 3.938 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.004571, allocations: 27.73 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.004961, allocations: 120.2 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.005302, allocations: 147.6 kB / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.005594, allocations: 236.2 kB / 0.7899 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.005728, allocations: 21.8 kB / 0.79 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.005908, allocations: 142.2 kB / 0.7901 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00464/0.01055, allocations: 1.216 MB / 0.7913 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.01059, allocations: 21.27 kB / 0.7913 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.79e-05/0.01068, allocations: 35.94 kB / 0.7913 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.01075, allocations: 39.83 kB / 0.7914 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.572e-05/0.01084, allocations: 63.81 kB / 0.7914 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.01124, allocations: 181.1 kB / 0.7916 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.01125, allocations: 0 / 0.7916 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.01125, allocations: 0 / 0.7916 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.01125, allocations: 0 / 0.7916 GB, free: 8.637 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.0007379/0.01199, allocations: 0.5784 MB / 0.7922 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.01204, allocations: 14.62 kB / 0.7922 GB, free: 8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.364e-05/0.01213, allocations: 24.84 kB / 0.7922 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.0124, allocations: 189.8 kB / 0.7924 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.01242, allocations: 20.53 kB / 0.7924 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.01246, allocations: 19.94 kB / 0.7924 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.01263, allocations: 77.59 kB / 0.7925 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.01263, allocations: 0 / 0.7925 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.01265, allocations: 0.5312 kB / 0.7925 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.01266, allocations: 4 kB / 0.7925 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.989e-05/0.01275, allocations: 36.62 kB / 0.7925 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.01348, allocations: 433.8 kB / 0.793 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.01364, allocations: 67.64 kB / 0.793 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/0.01368, allocations: 23.67 kB / 0.793 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.0137, allocations: 4.781 kB / 0.7931 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.01384, allocations: 86.12 kB / 0.7931 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 2.454e-06/0.01384, allocations: 0 / 0.7931 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003157/0.01416, allocations: 127.7 kB / 0.7933 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.0142, allocations: 60.78 kB / 0.7933 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.0144, allocations: 243.2 kB / 0.7935 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.01443, allocations: 33.7 kB / 0.7936 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.01453, allocations: 171.3 kB / 0.7937 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.01457, allocations: 36.56 kB / 0.7938 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/0.01465, allocations: 63.55 kB / 0.7938 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.01479, allocations: 0.4969 MB / 0.7943 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.072e-05/0.01485, allocations: 27.86 kB / 0.7944 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.0151, allocations: 241.3 kB / 0.7946 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.01523, allocations: 104.2 kB / 0.7947 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01523, allocations: 1.219 kB / 0.7947 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002254/0.01546, allocations: 135.8 kB / 0.7948 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.01548, allocations: 8 kB / 0.7948 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01548, allocations: 0 / 0.7948 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.0155, allocations: 5.688 kB / 0.7948 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.0156, allocations: 23.92 kB / 0.7948 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01561, allocations: 0 / 0.7948 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.01575, allocations: 31.81 kB / 0.7949 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.01576, allocations: 6.656 kB / 0.7949 GB, free: 4.996 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.0001094/0.01587, allocations: 176.3 kB / 0.7951 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.01591, allocations: 31.84 kB / 0.7951 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.01607, allocations: 113.4 kB / 0.7952 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01608, allocations: 0 / 0.7952 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01608, allocations: 0 / 0.7952 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01608, allocations: 3.938 kB / 0.7952 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.01641, allocations: 422.2 kB / 0.7956 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01641, allocations: 1.938 kB / 0.7956 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.877e-05/0.01644, allocations: 15.92 kB / 0.7956 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01644, allocations: 0 / 0.7956 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01645, allocations: 7.938 kB / 0.7956 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01645, allocations: 0 / 0.7956 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.01645, allocations: 0 / 0.7956 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.01659, allocations: 265 kB / 0.7959 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.01662, allocations: 23.88 kB / 0.7959 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.01664, allocations: 11.94 kB / 0.7959 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.041e-05/0.01669, allocations: 8.641 kB / 0.7959 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.01674, allocations: 16.7 kB / 0.7959 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.01676, allocations: 11.92 kB / 0.7959 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.929e-05/0.01684, allocations: 180.3 kB / 0.7961 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01684, allocations: 0 / 0.7961 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002061/0.01704, allocations: 47.88 kB / 0.7962 GB, free: 3.625 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.000289/0.01733, allocations: 172.7 kB / 0.7963 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.01747, allocations: 72.66 kB / 0.7964 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01748, allocations: 5.125 kB / 0.7964 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.212e-05/0.01753, allocations: 46.47 kB / 0.7964 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.01778, allocations: 43.98 kB / 0.7965 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.01821, allocations: 293.8 kB / 0.7968 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.11e-05/0.01826, allocations: 73.92 kB / 0.7968 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.133e-05/0.01831, allocations: 21.47 kB / 0.7969 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.01835, allocations: 28.48 kB / 0.7969 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/0.01835, allocations: 1.25 kB / 0.7969 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of Templates: time 0.004876/0.02323, allocations: 3.568 MB / 0.8004 GB, free: 15.35 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.051405424019322]