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.002531/0.002531, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002851/0.002851, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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.547/1.547, allocations: 177.1 MB / 203.9 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] 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 2.903/2.903, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.1.|sca1.y.1.|sca1.y.2.",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.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.063e-05, allocations: 2.875 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003336/0.003366, allocations: 1.803 MB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.004666, allocations: 0.5941 MB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.004737, allocations: 5.219 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.00492, allocations: 27.67 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.005302, allocations: 123.9 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.005664, allocations: 151.6 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.005989, allocations: 228.8 kB / 0.7892 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.006133, allocations: 25.78 kB / 0.7892 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.006367, allocations: 135.8 kB / 0.7893 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008977/0.01534, allocations: 1.231 MB / 0.7905 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.551e-05/0.01543, allocations: 19.94 kB / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.01557, allocations: 39.92 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.478e-05/0.01565, allocations: 41.17 kB / 0.7906 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.01577, allocations: 63.81 kB / 0.7907 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.01623, allocations: 231.3 kB / 0.7909 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01624, allocations: 0 / 0.7909 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.563e-06/0.01624, allocations: 1.594 kB / 0.7909 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.01624, allocations: 4 kB / 0.7909 GB, free: 8.641 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.0009621/0.0172, allocations: 0.57 MB / 0.7915 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.01724, allocations: 12.03 kB / 0.7915 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.469e-05/0.01734, allocations: 28.25 kB / 0.7915 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.01767, allocations: 185.1 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.01769, allocations: 12.56 kB / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.01774, allocations: 23.92 kB / 0.7917 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.01793, allocations: 85.66 kB / 0.7918 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.01794, allocations: 0 / 0.7918 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.01796, allocations: 4 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.01797, allocations: 4 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.01811, allocations: 55.84 kB / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009666/0.01908, allocations: 453.7 kB / 0.7923 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.01925, allocations: 79.77 kB / 0.7924 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.01931, allocations: 27.67 kB / 0.7924 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.01933, allocations: 4.531 kB / 0.7924 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.01952, allocations: 98.41 kB / 0.7925 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.01952, allocations: 0 / 0.7925 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003604/0.01988, allocations: 145.5 kB / 0.7927 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.01993, allocations: 56.56 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.02026, allocations: 271.2 kB / 0.793 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.0203, allocations: 33.7 kB / 0.793 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.02044, allocations: 176.1 kB / 0.7932 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.02049, allocations: 39.67 kB / 0.7932 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.0206, allocations: 67.89 kB / 0.7933 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002789/0.02088, allocations: 0.5079 MB / 0.7938 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.02096, allocations: 29.39 kB / 0.7938 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.02133, allocations: 264.7 kB / 0.794 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.02152, allocations: 118.5 kB / 0.7942 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.02152, allocations: 3.938 kB / 0.7942 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002807/0.0218, allocations: 156.9 kB / 0.7943 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.02182, allocations: 8 kB / 0.7943 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.02182, allocations: 0 / 0.7943 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.02184, allocations: 4 kB / 0.7943 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.02197, allocations: 23.92 kB / 0.7943 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.02198, allocations: 0 / 0.7943 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.02216, allocations: 31.81 kB / 0.7944 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.02218, allocations: 4 kB / 0.7944 GB, free: 4.816 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.0002272/0.0224, allocations: 181.2 kB / 0.7946 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.02245, allocations: 27.86 kB / 0.7946 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.0227, allocations: 125.5 kB / 0.7947 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.0227, allocations: 0.5 kB / 0.7947 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.0227, allocations: 0.5625 kB / 0.7947 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.02271, allocations: 0.5625 kB / 0.7947 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/0.02335, allocations: 458.5 kB / 0.7951 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.02335, allocations: 0 / 0.7951 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.02339, allocations: 4 kB / 0.7951 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.0234, allocations: 16.02 kB / 0.7952 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.02342, allocations: 4.531 kB / 0.7952 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.02342, allocations: 1.469 kB / 0.7952 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02342, allocations: 0 / 0.7952 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.02373, allocations: 275.8 kB / 0.7954 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.02379, allocations: 19.89 kB / 0.7954 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.02382, allocations: 13.05 kB / 0.7955 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.02392, allocations: 4 kB / 0.7955 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.02399, allocations: 19.97 kB / 0.7955 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.02402, allocations: 4.531 kB / 0.7955 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001781/0.02419, allocations: 198 kB / 0.7957 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02419, allocations: 0 / 0.7957 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003022/0.0245, allocations: 44.83 kB / 0.7957 GB, free: 3.387 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.0005517/0.02505, allocations: 177.2 kB / 0.7959 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.0253, allocations: 102 kB / 0.796 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.0253, allocations: 0 / 0.796 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.0254, allocations: 51.61 kB / 0.796 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.02581, allocations: 53.59 kB / 0.7961 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.02651, allocations: 302 kB / 0.7964 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.02663, allocations: 109.5 kB / 0.7965 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.087e-05/0.02673, allocations: 22.59 kB / 0.7965 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.02679, allocations: 21.53 kB / 0.7965 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.02679, allocations: 0 / 0.7965 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of Templates: time 0.00879/0.03558, allocations: 3.557 MB / 0.8 GB, free: 15.05 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.003440305939876]