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.0008116/0.0008116, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007863/0.0007863, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.8814/0.8814, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.76/1.76, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.553e-05, allocations: 6.219 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002442/0.002477, allocations: 1.776 MB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007718/0.003249, allocations: 0.5887 MB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.003314, allocations: 7.938 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.003477, allocations: 27.67 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.003767, allocations: 119.4 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.004004, allocations: 155.6 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.004208, allocations: 231.3 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.004316, allocations: 29.78 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.004441, allocations: 131.8 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.006975, allocations: 0.7883 MB / 1.005 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.007011, allocations: 16 kB / 1.005 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.656e-05/0.007088, allocations: 35.98 kB / 1.005 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/0.007145, allocations: 39.83 kB / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.261e-05/0.007218, allocations: 67.81 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.007532, allocations: 235.2 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.007536, allocations: 3.984 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.282e-06/0.007537, allocations: 0 / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.007542, allocations: 0 / 1.005 GB, free: 8.988 MB / 0.9636 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.000567/0.008109, allocations: 475.4 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.008146, allocations: 16.73 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.008204, allocations: 20.84 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.008402, allocations: 186.2 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.008416, allocations: 12.56 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.00844, allocations: 15.94 kB / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.008586, allocations: 93.66 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.008594, allocations: 0 / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.008607, allocations: 3.984 kB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.008612, allocations: 4 kB / 1.006 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.67e-05/0.008699, allocations: 55.91 kB / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.009232, allocations: 384.2 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.009355, allocations: 66.56 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.009392, allocations: 36.72 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.009409, allocations: 0 / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.009531, allocations: 99.34 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.009532, allocations: 0 / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0002504/0.009783, allocations: 145.6 kB / 1.007 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.009815, allocations: 51.41 kB / 1.007 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.009952, allocations: 205.8 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.009976, allocations: 33.7 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.01005, allocations: 128.5 kB / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.01007, allocations: 31.69 kB / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.01013, allocations: 61.67 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.01021, allocations: 326.8 kB / 1.007 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.01025, allocations: 27.98 kB / 1.007 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.01044, allocations: 235.3 kB / 1.008 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.975e-05/0.01054, allocations: 108.5 kB / 1.008 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01054, allocations: 0 / 1.008 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001637/0.01071, allocations: 149.4 kB / 1.008 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.01072, allocations: 8 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01073, allocations: 3.938 kB / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.01074, allocations: 4 kB / 1.008 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.01081, allocations: 16.14 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.01082, allocations: 4 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.13e-05/0.01091, allocations: 27.86 kB / 1.008 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.01092, allocations: 4.219 kB / 1.008 GB, free: 5.754 MB / 0.9636 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 9.059e-05/0.01101, allocations: 137.8 kB / 1.008 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.01103, allocations: 23.8 kB / 1.008 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.01119, allocations: 131.1 kB / 1.008 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01119, allocations: 0 / 1.008 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.0112, allocations: 3.938 kB / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.0112, allocations: 0 / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.01153, allocations: 382 kB / 1.009 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01153, allocations: 8 kB / 1.009 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.01156, allocations: 7.938 kB / 1.009 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01156, allocations: 0 / 1.009 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01157, allocations: 7.938 kB / 1.009 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01157, allocations: 7.984 kB / 1.009 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01158, allocations: 0 / 1.009 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.01171, allocations: 214.9 kB / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.01174, allocations: 27.83 kB / 1.009 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.01176, allocations: 3.938 kB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.01181, allocations: 15.98 kB / 1.009 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.01186, allocations: 11.97 kB / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.01188, allocations: 12 kB / 1.009 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.952e-05/0.01196, allocations: 143.3 kB / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01196, allocations: 0 / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002006/0.01216, allocations: 39.95 kB / 1.009 GB, free: 4.531 MB / 0.9636 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.0002702/0.01243, allocations: 163.6 kB / 1.009 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.01259, allocations: 87.91 kB / 1.009 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01259, allocations: 4.312 kB / 1.009 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.257e-05/0.01264, allocations: 43.91 kB / 1.009 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.0129, allocations: 50.47 kB / 1.009 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.0134, allocations: 315.9 kB / 1.01 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.078e-05/0.01348, allocations: 119.4 kB / 1.01 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.01352, allocations: 24.5 kB / 1.01 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.01353, allocations: 0 / 1.01 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of Templates: time 0.003721/0.01725, allocations: 3.083 MB / 1.013 GB, free: 0.6328 MB / 0.9636 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/jenkins/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: 7.0677311243489385]