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.001627/0.001627, allocations: 81.16 kB / 19.18 MB, free: 2.516 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.002092/0.002092, allocations: 162.4 kB / 22.46 MB, free: 5.375 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.557/1.557, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.895/2.895, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.573e-05, allocations: 5.656 kB / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003287/0.003313, allocations: 1.78 MB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.004646, allocations: 0.5887 MB / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.004728, allocations: 0 / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.004936, allocations: 39.59 kB / 0.9837 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.005333, allocations: 111.4 kB / 0.9838 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.005736, allocations: 161.5 kB / 0.984 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.006098, allocations: 235.3 kB / 0.9842 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.00622, allocations: 21.8 kB / 0.9842 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.006429, allocations: 143.7 kB / 0.9844 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006325/0.01275, allocations: 0.789 MB / 0.9852 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.01281, allocations: 16 kB / 0.9852 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.01293, allocations: 43.91 kB / 0.9852 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.464e-05/0.013, allocations: 35.84 kB / 0.9852 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.01312, allocations: 67.8 kB / 0.9853 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.01356, allocations: 219.4 kB / 0.9855 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.01357, allocations: 4 kB / 0.9855 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.01357, allocations: 0 / 0.9855 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.01358, allocations: 0 / 0.9855 GB, free: 7.965 MB / 0.9356 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.0009058/0.01448, allocations: 488.7 kB / 0.986 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.01454, allocations: 12.03 kB / 0.986 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.413e-05/0.01462, allocations: 24.78 kB / 0.986 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.01492, allocations: 174.4 kB / 0.9862 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.01494, allocations: 8.562 kB / 0.9862 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/0.01499, allocations: 15.94 kB / 0.9862 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.01521, allocations: 97.59 kB / 0.9863 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.01522, allocations: 0 / 0.9863 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.01524, allocations: 11.98 kB / 0.9863 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.01524, allocations: 0 / 0.9863 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.01537, allocations: 59.91 kB / 0.9864 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009023/0.01627, allocations: 372.3 kB / 0.9867 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.01645, allocations: 66.55 kB / 0.9868 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.01651, allocations: 32.84 kB / 0.9868 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.01653, allocations: 7.984 kB / 0.9868 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.01671, allocations: 103.2 kB / 0.9869 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.01671, allocations: 0 / 0.9869 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.000339/0.01705, allocations: 137.6 kB / 0.9871 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.0171, allocations: 59.39 kB / 0.9871 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.01737, allocations: 191.8 kB / 0.9873 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.01741, allocations: 33.7 kB / 0.9873 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.01752, allocations: 124.6 kB / 0.9874 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.01756, allocations: 35.69 kB / 0.9875 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.664e-05/0.01766, allocations: 53.89 kB / 0.9875 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.01782, allocations: 338.8 kB / 0.9879 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.01789, allocations: 31.92 kB / 0.9879 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.01825, allocations: 239.3 kB / 0.9881 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.01841, allocations: 102.1 kB / 0.9882 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.01841, allocations: 4 kB / 0.9882 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002757/0.01869, allocations: 154.4 kB / 0.9884 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.01871, allocations: 4 kB / 0.9884 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.01872, allocations: 4 kB / 0.9884 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.01874, allocations: 0 / 0.9884 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.01885, allocations: 23.92 kB / 0.9884 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.01886, allocations: 0 / 0.9884 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.01907, allocations: 31.81 kB / 0.9884 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.01909, allocations: 7.984 kB / 0.9884 GB, free: 4.719 MB / 0.9356 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.0001554/0.01924, allocations: 137.6 kB / 0.9886 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.01928, allocations: 20.03 kB / 0.9886 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.01952, allocations: 131.1 kB / 0.9887 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.01953, allocations: 4 kB / 0.9887 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01953, allocations: 0 / 0.9887 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01954, allocations: 0 / 0.9887 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.02019, allocations: 392.2 kB / 0.9891 GB, free: 4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.02019, allocations: 0 / 0.9891 GB, free: 4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.02024, allocations: 8 kB / 0.9891 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.02024, allocations: 0 / 0.9891 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.02026, allocations: 7.938 kB / 0.9891 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.02026, allocations: 4 kB / 0.9891 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.02026, allocations: 3.938 kB / 0.9891 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.02052, allocations: 211.4 kB / 0.9893 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.02057, allocations: 23.89 kB / 0.9893 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.0206, allocations: 7.938 kB / 0.9893 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.02072, allocations: 11.98 kB / 0.9894 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.02079, allocations: 11.97 kB / 0.9894 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.02082, allocations: 15.94 kB / 0.9894 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001456/0.02096, allocations: 140.9 kB / 0.9895 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.02096, allocations: 0 / 0.9895 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003193/0.02128, allocations: 43.94 kB / 0.9896 GB, free: 3.504 MB / 0.9356 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.0004348/0.02172, allocations: 170.6 kB / 0.9897 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.02196, allocations: 87.91 kB / 0.9898 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02196, allocations: 0 / 0.9898 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/0.02206, allocations: 39.92 kB / 0.9898 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.02247, allocations: 52.2 kB / 0.9899 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000677/0.02315, allocations: 294.3 kB / 0.9902 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.02327, allocations: 115.5 kB / 0.9903 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.1e-05/0.02335, allocations: 25.47 kB / 0.9903 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.02341, allocations: 24.48 kB / 0.9903 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.02341, allocations: 0 / 0.9903 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of Templates: time 0.008597/0.03201, allocations: 3.529 MB / 0.9938 GB, free: 15.23 MB / 0.9512 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/jenkins/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: 8.188860479742289]