Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001757/0.001757, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.002232/0.002232, allocations: 222 kB / 23 MB, free: 4.918 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.199/3.199, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002111/0.002111, allocations: 67.33 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3499, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003437/0.3533, allocations: 1.773 MB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.3546, allocations: 0.5811 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.518e-05/0.3547, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.3549, allocations: 39.66 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.3553, allocations: 119.5 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.3557, allocations: 152.9 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.356, allocations: 231.5 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3561, allocations: 29.67 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.3563, allocations: 107.7 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006184/0.3624, allocations: 0.7995 MB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.3625, allocations: 16 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.3627, allocations: 35.97 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.959e-05/0.3627, allocations: 39.91 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3628, allocations: 75.62 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.3632, allocations: 215.1 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3632, allocations: 4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3632, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3633, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 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.000843/0.3641, allocations: 480.9 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3641, allocations: 11.97 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.3642, allocations: 20.84 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.3645, allocations: 182.8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.3646, allocations: 19.98 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.3646, allocations: 8 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.3648, allocations: 99.34 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3648, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3648, allocations: 4 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.3649, allocations: 7.938 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.365, allocations: 51.97 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/0.3658, allocations: 384.1 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.366, allocations: 78.42 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.366, allocations: 28.84 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.366, allocations: 0 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.3662, allocations: 91.38 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 3.376e-06/0.3662, allocations: 3.984 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0003761/0.3666, allocations: 153.6 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.3667, allocations: 55.34 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.3669, allocations: 190.4 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.3669, allocations: 37.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.367, allocations: 120.5 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.3671, allocations: 35.72 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3672, allocations: 61.67 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3673, allocations: 322.8 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.538e-05/0.3674, allocations: 27.98 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.3677, allocations: 241.4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.3679, allocations: 111.9 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3679, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002561/0.3681, allocations: 149.4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.3682, allocations: 8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3682, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3682, allocations: 4 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3683, allocations: 19.92 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.3683, allocations: 4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.3685, allocations: 27.98 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3685, allocations: 4 kB / 1.333 GB, free: 10.62 MB / 1.029 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.0001403/0.3686, allocations: 144.2 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.3687, allocations: 11.91 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.3689, allocations: 135 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3689, allocations: 8.094 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3689, allocations: 0 / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3689, allocations: 3.938 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.3695, allocations: 394 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.3695, allocations: 3.938 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.3695, allocations: 8 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3695, allocations: 0 / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3696, allocations: 4 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3696, allocations: 0 / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3696, allocations: 0 / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.3698, allocations: 224.1 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.3699, allocations: 27.89 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.3699, allocations: 4 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.37, allocations: 7.984 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.3701, allocations: 19.98 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.3701, allocations: 7.984 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001588/0.3702, allocations: 140.3 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3702, allocations: 0 / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003156/0.3706, allocations: 43.94 kB / 1.334 GB, free: 9.383 MB / 1.029 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.0004225/0.371, allocations: 171.8 kB / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.3712, allocations: 95.78 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3712, allocations: 0 / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.323e-05/0.3713, allocations: 36.3 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.3717, allocations: 52.7 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00071/0.3724, allocations: 324.5 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.3726, allocations: 107.5 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.3726, allocations: 27.42 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3726, allocations: 0 / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of Templates: time 0.00581/0.3784, allocations: 3.077 MB / 1.338 GB, free: 5.492 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.328829391859472]