Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001347/0.001347, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001478/0.001478, allocations: 217.1 kB / 22.99 MB, free: 4.945 MB / 14.72 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.238/3.238, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 64.58 kB / 1.187 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3229, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003304/0.3262, allocations: 1.775 MB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3274, allocations: 0.5822 MB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.3275, allocations: 3.938 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.3277, allocations: 35.72 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.328, allocations: 111.5 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.3284, allocations: 162.1 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.3287, allocations: 235.4 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3288, allocations: 25.67 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.3289, allocations: 107.7 kB / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006056/0.335, allocations: 0.7933 MB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.323e-05/0.3351, allocations: 20 kB / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3352, allocations: 39.97 kB / 1.368 GB, free: 9.898 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.3353, allocations: 35.84 kB / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.3354, allocations: 83.56 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.3358, allocations: 207.2 kB / 1.369 GB, free: 9.578 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3358, allocations: 0 / 1.369 GB, free: 9.578 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.917e-06/0.3358, allocations: 8 kB / 1.369 GB, free: 9.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3358, allocations: 0 / 1.369 GB, free: 9.57 MB / 1.061 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.0008542/0.3367, allocations: 474.5 kB / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3367, allocations: 15.97 kB / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.75e-05/0.3368, allocations: 20.8 kB / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.3371, allocations: 190.7 kB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3372, allocations: 8 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.3372, allocations: 12 kB / 1.369 GB, free: 8.797 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.3374, allocations: 105.6 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3374, allocations: 0 / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3374, allocations: 0 / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.3374, allocations: 7.938 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.3376, allocations: 51.97 kB / 1.37 GB, free: 8.629 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007999/0.3384, allocations: 380.1 kB / 1.37 GB, free: 8.227 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.3385, allocations: 78.53 kB / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.3386, allocations: 28.84 kB / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3386, allocations: 0 / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.3388, allocations: 95.31 kB / 1.37 GB, free: 8.004 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.3388, allocations: 0 / 1.37 GB, free: 8.004 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0003386/0.3391, allocations: 141.8 kB / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.3392, allocations: 59.34 kB / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.3394, allocations: 195.9 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.3395, allocations: 33.7 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3396, allocations: 120.5 kB / 1.371 GB, free: 7.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.3396, allocations: 39.69 kB / 1.371 GB, free: 7.391 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/0.3397, allocations: 57.67 kB / 1.371 GB, free: 7.328 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.3399, allocations: 326.8 kB / 1.371 GB, free: 7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.3399, allocations: 27.98 kB / 1.371 GB, free: 6.973 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.3403, allocations: 239.3 kB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.3404, allocations: 104.1 kB / 1.371 GB, free: 6.566 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3404, allocations: 7.938 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002558/0.3407, allocations: 153.4 kB / 1.372 GB, free: 6.402 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3407, allocations: 8 kB / 1.372 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3407, allocations: 0 / 1.372 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3407, allocations: 4 kB / 1.372 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3408, allocations: 23.86 kB / 1.372 GB, free: 6.367 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3408, allocations: 0 / 1.372 GB, free: 6.367 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.341, allocations: 31.88 kB / 1.372 GB, free: 6.336 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.341, allocations: 8.156 kB / 1.372 GB, free: 6.328 MB / 1.061 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.0001366/0.3412, allocations: 138.7 kB / 1.372 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.3412, allocations: 19.86 kB / 1.372 GB, free: 6.164 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.3415, allocations: 127.1 kB / 1.372 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3415, allocations: 7.875 kB / 1.372 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3415, allocations: 0 / 1.372 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3415, allocations: 0 / 1.372 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.342, allocations: 386 kB / 1.372 GB, free: 5.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.342, allocations: 7.938 kB / 1.372 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.3421, allocations: 8 kB / 1.372 GB, free: 5.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3421, allocations: 3.938 kB / 1.372 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3421, allocations: 4 kB / 1.372 GB, free: 5.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3421, allocations: 4 kB / 1.372 GB, free: 5.578 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3421, allocations: 0 / 1.372 GB, free: 5.578 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.3423, allocations: 218.1 kB / 1.372 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.3424, allocations: 23.89 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3424, allocations: 0 / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3425, allocations: 11.98 kB / 1.373 GB, free: 5.316 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.3426, allocations: 15.97 kB / 1.373 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.3426, allocations: 8 kB / 1.373 GB, free: 5.293 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000138/0.3427, allocations: 143.4 kB / 1.373 GB, free: 5.152 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3427, allocations: 0 / 1.373 GB, free: 5.152 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003135/0.343, allocations: 39.94 kB / 1.373 GB, free: 5.113 MB / 1.061 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.000397/0.3434, allocations: 179.2 kB / 1.373 GB, free: 4.953 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.3437, allocations: 87.91 kB / 1.373 GB, free: 4.867 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3437, allocations: 0 / 1.373 GB, free: 4.867 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.3438, allocations: 39.92 kB / 1.373 GB, free: 4.828 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.3442, allocations: 61.36 kB / 1.373 GB, free: 4.773 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/0.3448, allocations: 323.1 kB / 1.373 GB, free: 4.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.3449, allocations: 111.4 kB / 1.373 GB, free: 4.301 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.345, allocations: 19.44 kB / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.345, allocations: 0 / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of Templates: time 0.005653/0.3506, allocations: 3.065 MB / 1.376 GB, free: 1.223 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.976343852002174]