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.001469/0.001469, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001679/0.001679, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.471/1.471, allocations: 177.1 MB / 203.9 MB, free: 5.566 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.818/2.818, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.302e-06/1.302e-06, allocations: 0.5469 kB / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.722e-05, allocations: 5.547 kB / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003717/0.003745, allocations: 1.795 MB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.005156, allocations: 0.5909 MB / 0.7887 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.46e-05/0.00525, allocations: 4.781 kB / 0.7887 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.005457, allocations: 31.67 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.005911, allocations: 116.3 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.006333, allocations: 151.6 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.00673, allocations: 232 kB / 0.7892 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.006862, allocations: 30.23 kB / 0.7892 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.007117, allocations: 139.7 kB / 0.7893 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007643/0.01476, allocations: 1.209 MB / 0.7905 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.471e-05/0.01483, allocations: 16 kB / 0.7905 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.01496, allocations: 39.92 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.01504, allocations: 39.83 kB / 0.7906 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.01517, allocations: 63.81 kB / 0.7907 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000492/0.01566, allocations: 235.2 kB / 0.7909 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.01566, allocations: 0 / 0.7909 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/0.01567, allocations: 0 / 0.7909 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.01567, allocations: 3.938 kB / 0.7909 GB, free: 8.684 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.0009407/0.01661, allocations: 482.2 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.01665, allocations: 9.594 kB / 0.7914 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.01677, allocations: 24.84 kB / 0.7914 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.0171, allocations: 174.3 kB / 0.7915 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.01712, allocations: 12.56 kB / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.01717, allocations: 25.22 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.01739, allocations: 93.64 kB / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.0174, allocations: 0 / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.01742, allocations: 8.656 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.01742, allocations: 0 / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.01758, allocations: 57.19 kB / 0.7917 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.01847, allocations: 389.8 kB / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.01866, allocations: 74.48 kB / 0.7922 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/0.01872, allocations: 25.41 kB / 0.7922 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.01875, allocations: 5.375 kB / 0.7922 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.01893, allocations: 91.31 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.01893, allocations: 0 / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003782/0.01931, allocations: 150.2 kB / 0.7924 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.01936, allocations: 55.41 kB / 0.7925 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.01962, allocations: 205.7 kB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.01966, allocations: 29.7 kB / 0.7927 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01977, allocations: 120.6 kB / 0.7928 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.01982, allocations: 39.67 kB / 0.7929 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.01992, allocations: 53.69 kB / 0.7929 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.02011, allocations: 335.3 kB / 0.7932 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.119e-05/0.02018, allocations: 27.98 kB / 0.7933 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.02055, allocations: 232.1 kB / 0.7935 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.02073, allocations: 104.6 kB / 0.7936 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.02073, allocations: 1.125 kB / 0.7936 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003055/0.02104, allocations: 164.4 kB / 0.7937 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.02105, allocations: 4 kB / 0.7937 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.02106, allocations: 4.719 kB / 0.7938 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.02108, allocations: 0 / 0.7938 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.02118, allocations: 20.5 kB / 0.7938 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.02119, allocations: 1.125 kB / 0.7938 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.02142, allocations: 31.75 kB / 0.7938 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.02143, allocations: 8 kB / 0.7938 GB, free: 5.449 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.0001489/0.02158, allocations: 134.5 kB / 0.7939 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.02163, allocations: 28.7 kB / 0.794 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.02188, allocations: 127 kB / 0.7941 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.02189, allocations: 6.438 kB / 0.7941 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.02189, allocations: 0 / 0.7941 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.0219, allocations: 3.938 kB / 0.7941 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000625/0.02252, allocations: 385.9 kB / 0.7945 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.02252, allocations: 0 / 0.7945 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.02257, allocations: 14.77 kB / 0.7945 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.02257, allocations: 0 / 0.7945 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.02259, allocations: 7.938 kB / 0.7945 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.02259, allocations: 0 / 0.7945 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.02259, allocations: 4 kB / 0.7945 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.02287, allocations: 226.1 kB / 0.7947 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.02293, allocations: 23.89 kB / 0.7947 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.02296, allocations: 7.938 kB / 0.7947 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.02308, allocations: 9.453 kB / 0.7947 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.02315, allocations: 15.98 kB / 0.7948 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.02317, allocations: 7.984 kB / 0.7948 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001712/0.02334, allocations: 145.8 kB / 0.7949 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.02334, allocations: 0 / 0.7949 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003345/0.02368, allocations: 49.52 kB / 0.795 GB, free: 4.223 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.0004405/0.02412, allocations: 161.5 kB / 0.7951 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.02438, allocations: 88.81 kB / 0.7952 GB, free: 4 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02438, allocations: 0 / 0.7952 GB, free: 4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.081e-05/0.02447, allocations: 43.77 kB / 0.7952 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.0249, allocations: 52.89 kB / 0.7953 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.02563, allocations: 300.2 kB / 0.7956 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.02576, allocations: 113.8 kB / 0.7957 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.425e-05/0.02584, allocations: 21.95 kB / 0.7957 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.02591, allocations: 28.48 kB / 0.7957 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.02591, allocations: 3.938 kB / 0.7957 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of Templates: time 0.009003/0.03491, allocations: 3.55 MB / 0.7992 GB, free: 15.93 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] 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: 7.711334289982915]