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.001431/0.001431, allocations: 81.86 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.001745/0.001745, allocations: 181 kB / 24.09 MB, free: 416 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.9403/0.9403, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.773/1.773, allocations: 359 MB / 0.6055 GB, free: 10.88 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.924e-06/1.924e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.185e-05, allocations: 3.375 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003154/0.003176, allocations: 1.812 MB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009557/0.004132, allocations: 0.6013 MB / 0.7899 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.429e-05/0.004216, allocations: 0 / 0.7899 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.004389, allocations: 31.72 kB / 0.7899 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.004659, allocations: 119.3 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.004881, allocations: 151.7 kB / 0.7902 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.005073, allocations: 231.3 kB / 0.7904 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.005179, allocations: 26.83 kB / 0.7904 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005669/0.01085, allocations: 2.38 MB / 0.7927 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.01098, allocations: 91.73 kB / 0.7928 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.01101, allocations: 16.5 kB / 0.7928 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.128e-05/0.01107, allocations: 29.56 kB / 0.7929 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.01113, allocations: 39.83 kB / 0.7929 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.01119, allocations: 63.8 kB / 0.793 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.01141, allocations: 167.3 kB / 0.7931 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.01142, allocations: 4.625 kB / 0.7931 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.02e-07/0.01142, allocations: 0 / 0.7931 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.01142, allocations: 0.9062 kB / 0.7931 GB, free: 7.41 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.0005021/0.01192, allocations: 0.574 MB / 0.7937 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.01196, allocations: 8.625 kB / 0.7937 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.01201, allocations: 30.22 kB / 0.7937 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.01218, allocations: 189.6 kB / 0.7939 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.01219, allocations: 8.562 kB / 0.7939 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.01221, allocations: 19.94 kB / 0.7939 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.78e-05/0.01231, allocations: 79.17 kB / 0.794 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.01232, allocations: 0 / 0.794 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.01232, allocations: 0 / 0.794 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.01233, allocations: 4 kB / 0.794 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.219e-05/0.01237, allocations: 36.41 kB / 0.794 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.01287, allocations: 389.5 kB / 0.7944 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.324e-05/0.01296, allocations: 63.86 kB / 0.7945 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.01299, allocations: 19.67 kB / 0.7945 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.01301, allocations: 10.05 kB / 0.7945 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.788e-05/0.01311, allocations: 81.23 kB / 0.7946 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.01311, allocations: 3.938 kB / 0.7946 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002296/0.01334, allocations: 123.9 kB / 0.7947 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.01338, allocations: 51.97 kB / 0.7948 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.01352, allocations: 241.8 kB / 0.795 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.01354, allocations: 33.69 kB / 0.795 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.01363, allocations: 167.3 kB / 0.7952 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.01365, allocations: 31.69 kB / 0.7952 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.01371, allocations: 67.3 kB / 0.7953 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.01386, allocations: 0.5039 MB / 0.7958 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.01388, allocations: 11.98 kB / 0.7958 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.01407, allocations: 258 kB / 0.796 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.567e-05/0.01416, allocations: 90.58 kB / 0.7961 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01416, allocations: 0.5625 kB / 0.7961 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001329/0.01429, allocations: 130.2 kB / 0.7962 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01431, allocations: 8 kB / 0.7962 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01431, allocations: 4.641 kB / 0.7962 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.01432, allocations: 4 kB / 0.7962 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.967e-05/0.01438, allocations: 20.84 kB / 0.7963 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.01438, allocations: 0 / 0.7963 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/0.01446, allocations: 31.59 kB / 0.7963 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.01447, allocations: 4 kB / 0.7963 GB, free: 3.879 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 8.502e-05/0.01456, allocations: 180.2 kB / 0.7965 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.01458, allocations: 27.84 kB / 0.7965 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.01469, allocations: 111.1 kB / 0.7966 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01469, allocations: 0 / 0.7966 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01469, allocations: 0 / 0.7966 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.0147, allocations: 0 / 0.7966 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.01497, allocations: 394.9 kB / 0.797 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01497, allocations: 0 / 0.797 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.015, allocations: 15.92 kB / 0.797 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.015, allocations: 1.031 kB / 0.797 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.015, allocations: 3.938 kB / 0.797 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.015, allocations: 4 kB / 0.797 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.01501, allocations: 5.062 kB / 0.797 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.01513, allocations: 247.8 kB / 0.7972 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.01516, allocations: 23.89 kB / 0.7973 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.01518, allocations: 5.109 kB / 0.7973 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-05/0.01522, allocations: 11.94 kB / 0.7973 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.01526, allocations: 17.12 kB / 0.7973 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.01527, allocations: 4 kB / 0.7973 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.728e-05/0.01534, allocations: 173.3 kB / 0.7975 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01534, allocations: 0 / 0.7975 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001822/0.01552, allocations: 45.58 kB / 0.7975 GB, free: 2.578 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.0002641/0.01579, allocations: 182.4 kB / 0.7977 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.0159, allocations: 71.58 kB / 0.7978 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.0159, allocations: 0 / 0.7978 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.344e-05/0.01594, allocations: 39.61 kB / 0.7978 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.01617, allocations: 59 kB / 0.7978 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.01655, allocations: 290.1 kB / 0.7981 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.063e-05/0.01659, allocations: 72 kB / 0.7982 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.112e-05/0.01663, allocations: 17.47 kB / 0.7982 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.01676, allocations: 138.1 kB / 0.7983 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.01677, allocations: 0 / 0.7983 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of Templates: time 0.00504/0.02181, allocations: 3.719 MB / 0.802 GB, free: 14.02 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.956653534900397]